@@ -17,7 +17,8 @@ The contents of next section is a copy of FORMAT file in Exuberant
1717Ctags source code in its subversion repository at sourceforge.net.
1818
1919Exceptions introduced in Universal Ctags are explained inline with
20- "EXCEPTION" marker.
20+ "EXCEPTION" marker. Statements that are made further clear in Universal
21+ Ctags are explained inline with "COMMENT" marker.
2122
2223----
2324
@@ -248,6 +249,10 @@ Use a comment after the {tagaddress} field. The format would be::
248249 not set. It may be restricted to a line number or a search
249250 pattern (Posix).
250251
252+ COMMENT: {tagaddress} could contain tab characters. See
253+ :ref: `ctags-client-tools(7) <ctags-client-tools(7) >` to know how to programmatically extract {tagaddress}
254+ (called "pattern field" there) and parse it.
255+
251256Optionally:
252257
253258;"
@@ -287,6 +292,10 @@ A tagfield has a name, a colon, and a value: "name:value".
287292 - The characters in range 0x01 to 0x1F included, and 0x7F are
288293 converted to ``\x `` prefixed hexadecimal number if the characters are
289294 not handled in the above "value" rules.
295+
296+ EXCEPTION: Universal Ctags allows all these escape sequences in {tagname}
297+ also.
298+
290299 - The leading space (0x20) and ``! `` (0x21) in {tagname} are converted
291300 to ``\x `` prefixed hexadecimal number (``\x20 `` and ``\x21 ``) if the
292301 tag is not a pseudo-tag. As described later, a pseudo-tag starts with
@@ -480,6 +489,14 @@ file, and provided solely for documentation purposes::
480489EXCEPTION: Universal Ctags introduces more kinds of pseudo-tags.
481490See :ref: `ctags-client-tools(7) <ctags-client-tools(7) >` about them.
482491
492+ COMMENT: Though pseudo-tags are semantically different from regular tags, They
493+ use the same format, which is::
494+
495+ {tagname}<Tab>{tagfile}<Tab>{tagaddress}
496+
497+ , and the escape sequences and illegal characters explained in "Proposal"
498+ section also applies to pseudo-tags.
499+
483500----
484501
485502
0 commit comments