summaryrefslogtreecommitdiffstats
path: root/mpi/mplogic.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-21 21:14:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-21 21:14:13 -0700
commit031384f551286723a1e82b8b729905f22bc15822 (patch)
treec23e5679559579ffd2f6dbd30983a45e17e9c80a /mpi/mplogic.c
parentf834128af0c031efbaa7fbd160376668334160bb (diff)
downloadtxr-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/mplogic.c')
0 files changed, 0 insertions, 0 deletions