summaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorJon Dowland <jon@ncl.ac.uk>2009-05-18 11:39:36 +0100
committerJon Dowland <jon@ncl.ac.uk>2009-05-18 11:39:36 +0100
commit749b0fe54dddd33058755b8f2fb60145e94656a7 (patch)
tree7483edc7481a6207fd0d75f9dc9ce27105afff10 /doc/bugs
parent78004c409eed7a06777696bcf6e935cdf4ee6f39 (diff)
make bug more concise
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn25
1 files changed, 22 insertions, 3 deletions
diff --git a/doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn b/doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn
index 263950a1d..0c77a2f41 100644
--- a/doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn
+++ b/doc/bugs/pagespec_can__39__t_match___123__curly__125___braces.mdwn
@@ -1,9 +1,28 @@
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 :( :
-[[!map pages="*_{*}_*"]]
+[[!inline show="3" 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:
-[[!map pages="*_\{*}_*"]]
+[[!inline show="3" archive="yes" pages="*_\{*}_*"]]
+
+[[!inline show="3" archive="yes" pages="*_{*\}_*"]]
+
+More tests:
+
+"\*{\*":
+
+[[!inline show="3" archive="yes" pages="*{*"]]
+
+"\*}\*":
+
+[[!inline show="3" archive="yes" pages="*}*"]]
+
+"\*}\* and \*{\*":
-[[!map pages="*_{*\}_*"]]
+[[!inline show="3" archive="yes" pages="*}* and *{*"]]