#4509·ctags

Line continuation in option file (.ctags)

Author: kiryphCreated Sep 23, 2026Updated Sep 23, 2026

When writing more complex regular expressions and extracting capture groups to different extension fields, a line can become very long. Does universal-ctags support line continuation in an option file (file extension .ctags)? If not, can this be added?

Arbitrary example

bash
--mline-regex-GAP=/DeclareOperation[[:space:]]*\([[:space:]]*"([a-zA-Z0-9_]+)"[[:space:]]*,[[:space:]]*\[(.*)\]/\1/o/{mgroup=1}{_field=signature:(\2)}