Tadziu Hoffmann <hoffm...@usm.uni-muenchen.de> wrote: > Unfortunately, this also means inventing a new syntax. > How should "\*", "\(", and "\[" be treated -- as groff > escapes or as regular-expression magic?
A regex pattern containing variables is questionable. The pattern should be literal (i.e. it is clear by the syntax that for that string no variables are interpolated). Then it could have e.g. (the comfortable) Perl regex syntax. Carsten