From b4f2c1714b1bdaac706089283c43e08586fd8eff Mon Sep 17 00:00:00 2001 From: Stuart Rackham Date: Thu, 12 Aug 2010 09:12:05 +1200 Subject: Relaxed anchor ID name syntax (see http://groups.google.com/group/asciidoc/browse_thread/thread/5f3e825c74ed30c). --- asciidoc.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'asciidoc.conf') diff --git a/asciidoc.conf b/asciidoc.conf index acf940f..f882c95 100644 --- a/asciidoc.conf +++ b/asciidoc.conf @@ -194,11 +194,11 @@ CAUTION-style=template="admonitionparagraph",name="caution",caption="{caution-ca (?su)[\\]?(?Pfootnote|footnoteref):(?P\S*?)\[(?P.*?)\]= # Anchor: [[[id]]]. Bibliographic anchor. -(?su)[\\]?\[\[\[(?P[\w][\w-]*?)\]\]\]=anchor3 +(?su)[\\]?\[\[\[(?P[\w_:][\w_:.-]*?)\]\]\]=anchor3 # Anchor: [[id,xreflabel]] -(?su)[\\]?\[\[(?P[\w"].*?)\]\]=anchor2 +(?su)[\\]?\[\[(?P[\w"_:].*?)\]\]=anchor2 # Link: <> -(?su)[\\]?<<(?P[\w"].*?)>>=xref2 +(?su)[\\]?<<(?P[\w"_:].*?)>>=xref2 ifdef::asciidoc7compatible[] # Index term: ++primary,secondary,tertiary++ -- cgit v1.2.1