summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 0cf81ef607..172ce55124 100644
--- a/re.c
+++ b/re.c
@@ -214,7 +214,7 @@ rb_reg_expr_str(str, s, len)
const char *p, *pend;
int need_escape = 0;
- p = s; pend = p + len;
+ p = s; pend = p + len;
while (p<pend) {
if (*p == '/' || (!ISPRINT(*p) && !ismbchar(*p))) {
need_escape = 1;