[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] condition: OR of two string comparisons
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] condition: OR of two string comparisons |
Date: |
Thu, 13 Nov 2014 13:19:55 +0000 |
Hi Tadziu,
> Unfortunately, this also means inventing a new syntax. How should
> "\*", "\(", and "\[" be treated -- as groff escapes or as
> regular-expression magic?
Exactly. Taking an earlier suggestion for OR, it's valid now.
$ nroff | grep .
.if 'a'a'b'c'
b’c’
$
However, a new syntax is needed. I'd guess something at the start that
is currently invalid would indicate a whole new style of expression is
present, one with typical precedence, and more string matching
possibilities.
Cheers, Ralph.
- [Groff] condition: OR of two string comparisons, hohe72, 2014/11/05
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/06
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/07
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/07
- Re: [Groff] condition: OR of two string comparisons, Werner LEMBERG, 2014/11/07
- Re: [Groff] condition: OR of two string comparisons, Dale Snell, 2014/11/07
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/12
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Tadziu Hoffmann, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons,
Ralph Corderoy <=
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/14
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/14
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Carsten Kunze, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/13
- Re: [Groff] condition: OR of two string comparisons, Denis M. Wilson, 2014/11/13