groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] condition: OR of two string comparisons


From: Carsten Kunze
Subject: Re: [Groff] condition: OR of two string comparisons
Date: Thu, 13 Nov 2014 17:49:18 +0100 (CET)

Tadziu Hoffmann <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]