diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-15 08:41:30 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-15 08:41:30 -0700 |
commit | 6742e3e96b3387bbea484c7278305cab1bd5397e (patch) | |
tree | f0fcf43a263172806aefb0b327d415d9c3dafb04 /mpi/mpi-config.h | |
parent | 11ab30bd76f3cc28b364f79398229212e9537de1 (diff) | |
download | txr-6742e3e96b3387bbea484c7278305cab1bd5397e.tar.gz txr-6742e3e96b3387bbea484c7278305cab1bd5397e.tar.bz2 txr-6742e3e96b3387bbea484c7278305cab1bd5397e.zip |
Allow slashes in regex passed to regex-parse.
* parser.l (SREGEX): New start state, for stand-alone regex parsing.
(grammar): All REGEX state rules are active in the SREGEX state also.
The rule for the / character returns a REGCHAR if in the SREGEX
state, so it is treated as an ordinary character.
* txr.1: Updated regex-parse documentation about the treatment of
the slash. Also added notes about double escaping when a string literal
is passed to regex-parse.
Diffstat (limited to 'mpi/mpi-config.h')
0 files changed, 0 insertions, 0 deletions