As you can see in Figure A-9, no match is found in OpenOffice.org Writer. Numeric digits in OpenOffice.org
Writer use nonstandard syntax in that OpenOffice.org Writer lacks support for the
One solution to this type of problem in OpenOffice.org Writer is to use character classes. For now, it is
sufficient to note that the regular expression pattern
gives the same results as the pattern
, because the meaning of
is the same as
. The use of that character class to match three successive numeric digits in the file
is shown in Figure A-10.
Another syntax in OpenOffice.org Writer uses POSIX metacharacters.
utility also lacks the
metacharacter, so if you want to use it to find matches, you must
use the preceding character class shown in the command line, as follows:
findstr /N [0-9][0-9][0-9] ABC123.txt
Appendix A: Simple Regular Expressions
bapp01.qxd:bapp01 10:47 323