home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Backreferences in WebEPG?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vuego" data-source="post: 638781" data-attributes="member: 23741"><p>My TV listings source site has some issues where it replaces quotes with question marks which is what I'm trying to fix.</p><p></p><p>I wanted to use backreferences in the Modify Action of a grabber like this</p><p>[CODE]</p><p> <Actions></p><p> <Modify channel="*" field="#DESCRIPTION" search="\?(\w+)\?" action="Replace">"\1"</Modify></p><p> </Actions></p><p>[/CODE]</p><p>According to <a href="http://www.regular-expressions.info/brackets.html" target="_blank">Regex Tutorial - Round Brackets for Grouping and Backreferences</a> \1 should contain the backreference of the text that was matched in the search but when using it in WebEPG is it just replaced by the string "\1". I also tried $1 but that too doesn't work.</p><p></p><p>Any ideas?</p></blockquote><p></p>
[QUOTE="vuego, post: 638781, member: 23741"] My TV listings source site has some issues where it replaces quotes with question marks which is what I'm trying to fix. I wanted to use backreferences in the Modify Action of a grabber like this [CODE] <Actions> <Modify channel="*" field="#DESCRIPTION" search="\?(\w+)\?" action="Replace">"\1"</Modify> </Actions> [/CODE] According to [url=http://www.regular-expressions.info/brackets.html]Regex Tutorial - Round Brackets for Grouping and Backreferences[/url] \1 should contain the backreference of the text that was matched in the search but when using it in WebEPG is it just replaced by the string "\1". I also tried $1 but that too doesn't work. Any ideas? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
WebEPG
Backreferences in WebEPG?
Contact us
RSS
Top
Bottom