]> mj.ucw.cz Git - libucw.git/commitdiff
Doc. system: fix function anchors
authorMichal Vaner <vorner@ucw.cz>
Wed, 10 Sep 2008 10:02:35 +0000 (12:02 +0200)
committerMichal Vaner <vorner@ucw.cz>
Wed, 10 Sep 2008 10:02:35 +0000 (12:02 +0200)
Only last character of their name was used to create the anchor.

build/asciidoc.conf

index 5ed9ef0f881d383fc3d298a4e36b35f576c9d945..8e9af77de8c53282a3b8ff98b6c6f7411a21d3c5 100644 (file)
@@ -5,7 +5,7 @@
 (?su)[\\]?&lt;&lt;(?P<filename>[^&;:()]+):(?P<target>[^,();&]+)(,(?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
+(?su)[\\]?!!f!(?P<prefix>[^!]*?(?P<name>\w+))(?P<params>\([^&;:()]*\);?)[^!]*!!!=func_anchor
 (?su)[\\]?(?P<all>(?P<name>\w+)\([^();:]*\))=func_auto_ref
 (?su)[\\]?!!PARENT_OPEN!!=parent_open_hack
 (?su)[\\]?@!!KEEP!!(?P<word>\w+)!!KEEP!!@=no_func_param_return