diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-21 21:14:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-21 21:14:13 -0700 |
commit | 031384f551286723a1e82b8b729905f22bc15822 (patch) | |
tree | c23e5679559579ffd2f6dbd30983a45e17e9c80a /mpi/mpi.h | |
parent | f834128af0c031efbaa7fbd160376668334160bb (diff) | |
download | txr-031384f551286723a1e82b8b729905f22bc15822.tar.gz txr-031384f551286723a1e82b8b729905f22bc15822.tar.bz2 txr-031384f551286723a1e82b8b729905f22bc15822.zip |
Support negative positions in regex matching funs.
* regex.c (match_regex, match_regex_right): Detect
a negative start or end position, respectively,
and add the string length to it. If it is still
negative, bail with nil.
* txr.1: Documented.
Diffstat (limited to 'mpi/mpi.h')
0 files changed, 0 insertions, 0 deletions