Ralph Corderoy <ra...@inputplus.co.uk> wrote (Thu, 06 Nov 2014 16:35:23
+0000):
> Hi Holger,
> 
> > .\" I found this for strings
> > 
> > .ds c "
> > .ds d "
> > .if '\*c'foo' .ds d "bar
> > .ie '\*d'bar' .tm *9: true
> > .el           .tm *9: false
> 
> If you want to preserve d's value for later use then you're back to
> using a temporary variable to track success so far.
> 
> Cheers, Ralph.

Yes.

Due to the 'Troff User's Manual' page 24 and the man 7 groff (missing
a negation), the statement:

.if 'str1'str2' anything

cannot handle regular expressions or kinda glob-ing as patterns?

Holger

Reply via email to