make bug more concise
[ikiwiki.git] / doc / bugs / pagespec_can__39__t_match___123__curly__125___braces.mdwn
1 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 :( :
2
3 [[!inline show="3" archive="yes" pages="*_{*}_*"]]
4
5 (note: the inline above has been restricted to 3 matches to keep this page
6 concise. Hopefully it is still clear that this page is not in the output set,
7 and the 3 pages in the output set do not contain curly braces in their
8 titles).
9
10 When escaped, it doesn't work at all:
11
12 [[!inline show="3" archive="yes" pages="*_\{*}_*"]]
13
14 [[!inline show="3" archive="yes" pages="*_{*\}_*"]]
15
16 More tests:
17
18 "\*{\*":
19
20 [[!inline show="3" archive="yes" pages="*{*"]]
21
22 "\*}\*":
23
24 [[!inline show="3" archive="yes" pages="*}*"]]
25
26 "\*}\* and \*{\*":
27
28 [[!inline show="3" archive="yes" pages="*}* and *{*"]]