Backreferences in WebEPG? (1 Viewer)

vuego

Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,643
    775
    Göteborg
    Home Country
    Sweden Sweden
    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>
    According to Regex Tutorial - Round Brackets for Grouping and Backreferences \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?
     

    Attachments

    • svt_se.xml
      2.1 KB

    Users who are viewing this thread

    Top Bottom