diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2010-08-12 09:12:05 +1200 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2010-08-12 09:12:05 +1200 |
commit | b4f2c1714b1bdaac706089283c43e08586fd8eff (patch) | |
tree | d0b7ab05e277930e57f5e1de3fd7ef75579e3f43 /asciidoc.conf | |
parent | 1a9cb727387f535fcafdc49e49957fa92c7a5948 (diff) | |
download | asciidoc-b4f2c1714b1bdaac706089283c43e08586fd8eff.tar.gz |
Relaxed anchor ID name syntax (see http://groups.google.com/group/asciidoc/browse_thread/thread/5f3e825c74ed30c).
Diffstat (limited to 'asciidoc.conf')
-rw-r--r-- | asciidoc.conf | 6 |
1 files changed, 3 insertions, 3 deletions
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)[\\]?(?P<name>footnote|footnoteref):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
# Anchor: [[[id]]]. Bibliographic anchor.
-(?su)[\\]?\[\[\[(?P<attrlist>[\w][\w-]*?)\]\]\]=anchor3
+(?su)[\\]?\[\[\[(?P<attrlist>[\w_:][\w_:.-]*?)\]\]\]=anchor3
# Anchor: [[id,xreflabel]]
-(?su)[\\]?\[\[(?P<attrlist>[\w"].*?)\]\]=anchor2
+(?su)[\\]?\[\[(?P<attrlist>[\w"_:].*?)\]\]=anchor2
# Link: <<id,text>>
-(?su)[\\]?<<(?P<attrlist>[\w"].*?)>>=xref2
+(?su)[\\]?<<(?P<attrlist>[\w"_:].*?)>>=xref2
ifdef::asciidoc7compatible[]
# Index term: ++primary,secondary,tertiary++
|