text/asciidoc
*.asciidoc;*.adoc
//
\+\s*$
(?:NOTE|TIP|CAUTION|IMPORTANT|WARNING)
(?:image|include|sys|sys2|eval)
(?:pass|latexmath|asciimath|indexterm|indexterm2|footnote|footnoteref)
(?:ifdef|ifndef|ifeval|endif|unfloat|template)
^=\s+\S.*$
^==\s+\S.*$
^===\s+\S.*$
^====\s+\S.*$
^=====\s+\S.*$
^(\|====+)\s*$
^(\%{1@start})\s*$
(?<!\\)\|
(?=\|)
^(\+\+\+\++)\s*$
^(\%{1@start})\s*$
^(----+)\s*$
^(\%{1@start})\s*$
^(\.\.\.\.+)\s*$
^(\%{1@start})\s*$
^(____+)\s*$
^(\%{1@start})\s*$
^(====+)\s*$
^(\%{1@start})\s*$
\B`[^\s`'].*?[^\s`']'\B
\B``[^\s`'].*?[^\s`']''\B
<<
>>
\b(xref:)([^\s\[\]]*)(\[)
\]
\b(link:)([^\s\[\]]*)(\[)
\]
((?:https?:\/\/|ftp:\/\/|file:\/\/|mailto:|callto:)[^\s\[]+)(\[)
\]
(https?:\/\/|ftp:\/\/|file:\/\/|mailto:|callto:)[^\s\[]+
\b[\w\.\/-]+@[\w\.\/-]+\b
\$\$.+?\$\$
\+\+\+.+?\+\+\+
\(C\)|\(TM\)|\(R\)|(?<!-)--(?!-)|\.{3}|->|<-|=>|<=
^\%{admonition-names}:(?=\s)
(?<=^|[ \t\(\[.,\-])\+(?![\)])
(\+(?=[ \t\(\)\],.?!;:\-]|$)|$(?=^$))
(?<=^|[ \t\(\[.,\-])`(?![\)])
(`(?=[ \t\(\)\],.?!;:\-]|$)|$(?=^$))
\+\+\S
(\+\+|^$)
(?<=^|[ \t\(\[.,\-])'(?![\)])
('(?=[ \t\(\)\],.?!;:\-]|$)|$(?=^$))
(?<=^|[ \t\(\[.,\-])_(?![\)])
(_(?=[ \t\(\)\],.?!;:\-]|$)|$(?=^$))
__\S
(__|^$)
(?<=^|[ \t\(\[.,\-])\*(?![\)])
(\*(?=[ \t\(\)\],.?!;:\-]|$)|$(?=^$))
\*\*\S
(\*\*|^$)
\b((?:\%{macro-names}|\%{inline-macro-names}):)([^\s\[\]]*)(\[)
\]
^<\d+>\s+
\[\[[^\]]+\]\]
\b(anchor:)([^\s\[\]]*)(\[)
\]
\{[^\s{}:]+\}
^(\%{macro-names}::)([^\s\[\]]*)(\[)
\]$
^(\%{preproc-names}::)([^\s\[\]]*)(\[)
\]$
^:[\w\s.-]+!?
:
^\.[^. \t].*[^\-~_]
$
^\[(?=[^\[\]]+\]$)
\]
\b\%{admonition-names}\b
^\[\[[^\]]+\]\]$
^'''+\s*$
^<<<+\s*$
^\s+(?!(\*+|\-+|\.+)\s)\S+.*$
^\s*$
^(?=\S)
^\s*$
^===+$
^---+$
^~~~+$
^\^\^\^+$
^\+\+\++$
^\s*(-|\*{1,5})\s+(?=\S)
^\s*$
^\s*([a-zA-Z1-9]+\.|[ixvIXV]+\))\s+(?=\S)
^\s*$
^\s*(\.{1,5})\s+(?=\S)
^\s*$
^\s*(?!-\s|\*\s|\.{1,5}\s|[a-zA-Z1-9]+\.\s|[ixvIXV]+\)\s).*((?<!:):{2,4}|(?<!;);;)(\s|$)
^\s*$
^\+\s*$
^--\s*$
^--\s*$