aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libregexp/rregexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libregexp/rregexec.c b/src/libregexp/rregexec.c
index 4312c4f9..16d95e67 100644
--- a/src/libregexp/rregexec.c
+++ b/src/libregexp/rregexec.c
@@ -46,7 +46,7 @@ rregexec1(Reprog *progp, /* program to run */
switch(j->starttype) {
case RUNE:
p = runestrchr(s, j->startchar);
- if(p == 0 || p == j->eol)
+ if(p == 0 || p == j->reol)
return match;
s = p;
break;