diff options
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: regex.c,v 1.21 2003/09/22 21:02:21 ukai Exp $ */ +/* $Id: regex.c,v 1.22 2003/09/24 18:49:00 ukai Exp $ */ /* * regex: Regular expression pattern match library * @@ -635,7 +635,7 @@ regmatch1(regexchar * re, longchar * c) if (verbose) printf("RE=%s vs %s -> %d\n", lc2c(re->p.pattern, 1), lc2c(c, 1), ans); -#endif /* REGEX_DEBUG */ +#endif /* REGEX_DEBUG */ return ans; case RE_WHICH: return matchWhich(re->p.pattern, c, re->mode & RE_IGNCASE); @@ -690,7 +690,7 @@ match_longchar(longchar * a, longchar * b, int ignore) if (ignore && IS_ALPHA(b->ch)) return (a->ch == TOLOWER(b->ch) || a->ch == TOUPPER(b->ch)); else - return a->ch == b->ch; + return a->ch == b->ch; } static int |