@newflexgetman wrote:
Hi,
According to this article, https://flexget.com/Plugins/regexp_parse, there is a syntax writing(?<=
. What is this? I know?
its meaning on regex. But, in here, what is it? In line 8 and 11, there are same symbol?=
inside. Wish some help.1 regexp_parse: 2 source: http://username:password@ezrss.it/feed/ 3 sections: 4 - {regexp: "(?<=<item>).*?(?=</item>)", flags: "DOTALL,IGNORECASE"} 5 keys: 6 title: 7 regexps: 8 - {regexp: '(?<=<title><!\[CDATA\[).*?(?=\](/).*?(?=\)\]></title>)'} #comment 9 url: 10 regexps: 11 - {regexp: "magnet:.*?(?=])"} 12 custom_field: 13 regexps: 14 - {regexp: "custom regexps", flags: "comma seperated list of flags (see python regex docs)"} 15 required: False 16 custom_field2: 17 regexps: 18 - {regexp: 'first custom regexps'} 19 - {regexp: 'can't find first regexp so try this one'}
Posts: 3
Participants: 2