summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-01-29 21:21:27 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-01-29 21:21:27 -0800
commit90665e91cee93000f5bf228d4600d0139552839f (patch)
tree5d21a03df0342444eccee0def063b858ae60d28d /regex.c
parentff17df5e47559aa87ffd828c6126a63165805ad2 (diff)
downloadtxr-90665e91cee93000f5bf228d4600d0139552839f.tar.gz
txr-90665e91cee93000f5bf228d4600d0139552839f.tar.bz2
txr-90665e91cee93000f5bf228d4600d0139552839f.zip
* regex.c (match_regex_right): Fix not returning value.
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regex.c b/regex.c
index 090846b1..7632faee 100644
--- a/regex.c
+++ b/regex.c
@@ -1873,6 +1873,8 @@ val match_regex_right(val str, val regex, val end)
pos = plus(pos, one);
}
+
+ return nil;
}
val regsub(val regex, val repl, val str)