archive=no for test inlines

master
Jon Dowland 2009-05-18 11:42:16 +01:00
parent 749b0fe54d
commit bca02e0ee8
1 changed files with 6 additions and 9 deletions

View File

@ -1,6 +1,6 @@
I want match pages which have actually curly braces in the names (like this one), but this matches a lot of pages without the braces in their names :( :
[[!inline show="3" archive="yes" pages="*_{*}_*"]]
[[!inline show="3" feed="no" archive="yes" pages="*_{*}_*"]]
(note: the inline above has been restricted to 3 matches to keep this page
concise. Hopefully it is still clear that this page is not in the output set,
@ -9,20 +9,17 @@ titles).
When escaped, it doesn't work at all:
[[!inline show="3" archive="yes" pages="*_\{*}_*"]]
[[!inline show="3" feed="no" archive="yes" pages="*_\{*}_*"]]
[[!inline show="3" archive="yes" pages="*_{*\}_*"]]
[[!inline show="3" feed="no" archive="yes" pages="*_{*\}_*"]]
More tests:
"\*{\*":
[[!inline show="3" archive="yes" pages="*{*"]]
[[!inline show="3" feed="no" archive="yes" pages="*{*"]]
"\*}\*":
"\*\\{\*":
[[!inline show="3" archive="yes" pages="*}*"]]
[[!inline show="3" feed="no" archive="yes" pages="*\{*"]]
"\*}\* and \*{\*":
[[!inline show="3" archive="yes" pages="*}* and *{*"]]