![]() |
|
|||||||
| Scraper Development Developers forum for meta data scrapers. Scraper developers only! Not for posting feature requests, bugs, or end-user support requests! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jan 2009
Location: Mougins, France
Posts: 27
![]() |
Hi
I'd like to know if is is possible to test 2 booleans in a conditional statement .. for example : Code:
<RegExp conditional="testA & !testB"> </Regexp> ![]() I can't find help on this anywhere ... or ... i didn't search thoroughly
|
|
|
|
|
|
#2 |
|
Grumpy Bastard Developer
Join Date: Nov 2003
Posts: 7,715
![]() |
well, no. i didn't add boolean expression parsing as this is easily done elsewise.
<regexp conditional="testA" blabla dest="5"> <expression>somestuff</expression> </regexp> <regexp conditional="!testB" input="$$5" output="\1" dest="4"> <expression>(.+)</expression> </regexp> see, if either arent fulfilled no joy in buffer 4
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2009
Location: Mougins, France
Posts: 27
![]() |
hehe actually, while asking I tried something which looks like what you showed :
Code:
<RegExp conditional="!testA"> <RegExp conditional="testB" input="$$1" output="(...)" dest="4"> <expression repeat="yes">(...)</expression> </RegExp> <RegExp conditional="!testB" input="$$1" output="(...)" dest="4"> <expression repeat="yes">(...)</expression> </RegExp> </RegExp> <RegExp conditional="testA" input="$$1" output="(...)" dest="4"> <expression repeat="yes">(...)</expression> </RegExp> Anyway, thanks ! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|