]> mj.ucw.cz Git - libucw.git/commitdiff
Doc. system: file names with more chars allowed
authorMichal Vaner <vorner@ucw.cz>
Sun, 7 Sep 2008 11:54:29 +0000 (13:54 +0200)
committerMichal Vaner <vorner@ucw.cz>
Sun, 7 Sep 2008 11:54:29 +0000 (13:54 +0200)
Filenames in <<file:id>> referencies could not contain characters like
'/' or '.'. Now they can contain quite anything.

build/asciidoc.conf

index f416da3f26733fcfddc698cccdd9a9e47006f543..5ca7e653bf144e18389a145785a2eef5c91df67e 100644 (file)
@@ -1,7 +1,7 @@
 [macros]
-(?su)[\\]?&lt;&lt;(?P<filename>\w+):(?P<name>[^&;:()<> ]+)(?P<params>\([^&:;]*\);?)(,(?P<caption>[^&;]+))?&gt;&gt;=func_ref_file
+(?su)[\\]?&lt;&lt;(?P<filename>[^&;:()]+):(?P<name>[^&;:()<> ]+)(?P<params>\([^&:;]*\);?)(,(?P<caption>[^&;]+))?&gt;&gt;=func_ref_file
 (?su)[\\]?&lt;&lt;(?P<name>[^&;:()<> ]+)(?P<params>\([^&:;]*\);?)(,(?P<caption>[^&;]+))?&gt;&gt;=func_ref
-(?su)[\\]?&lt;&lt;(?P<filename>\w+):(?P<target>\w+)(,(?P<caption>[^&;]+))?&gt;&gt;=xref_file
+(?su)[\\]?&lt;&lt;(?P<filename>[^&;:()]+):(?P<target>\w+)(,(?P<caption>[^&;]+))?&gt;&gt;=xref_file
 (?su)[\\]?@(?P<word>\w+)@=no_func_param
 (?su)[\\]?@(?P<name>\w+)=func_param
 (?su)[\\]?!!f!(?P<prefix>[^!]*(?P<name>\w+))(?P<params>\([^&;:()]*\);?)[^!]*!!!=func_anchor