aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn
blob: 246cdc421054a0fab9e39a97e720f6e927bee334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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" feeds="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,
and the 3 pages in the output set do not contain curly braces in their
titles).

When escaped, it doesn't work at all:

[[!inline show="3" feeds="no" archive="yes" pages="*_\{*}_*"]]

[[!inline show="3" feeds="no" archive="yes" pages="*_{*\}_*"]]

More tests:

"\*{\*":

[[!inline show="3" feeds="no" archive="yes" pages="*{*"]]

"\*\\{\*":

[[!inline show="3" feeds="no" archive="yes" pages="*\{*"]]