diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-30 10:10:24 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-30 10:10:24 +0000 |
commit | 0281c83ceeb91c54dd2f4bd00755cde0fbf463c0 (patch) | |
tree | 12ae6dc648708dac18416bf4975575064dbe3c5b /regex.c | |
parent | run make indent (diff) | |
download | w3m-0281c83ceeb91c54dd2f4bd00755cde0fbf463c0.tar.gz w3m-0281c83ceeb91c54dd2f4bd00755cde0fbf463c0.zip |
[w3m-dev 02593]
From: Tsutomu Okada <okada@furuno.co.jp>
Diffstat (limited to 'regex.c')
-rw-r--r-- | regex.c | 21 |
1 files changed, 2 insertions, 19 deletions
@@ -1,4 +1,4 @@ -/* $Id: regex.c,v 1.5 2001/11/24 02:01:26 ukai Exp $ */ +/* $Id: regex.c,v 1.6 2001/11/30 10:10:24 ukai Exp $ */ /* * regex: Regular expression pattern match library * @@ -328,24 +328,7 @@ matchWhich(longchar * pattern, longchar c) printf("RE pattern = %s char=%c", pattern, c); #endif /* REGEX_DEBUG */ while (*p != '\0') { - if (*(p + 1) == RE_WHICH_RANGE && *(p + 2) != '\0') { /* Char * - * - * * * * - * * * * * - * * * * - * * * * - * * * * - * * * * - * * * * - * * * * - * * * * * - * * * * * - * * * - * class. - * * * * * - * * * * * - * * * * * - */ + if (*(p + 1) == RE_WHICH_RANGE && *(p + 2) != '\0') { /* Char class. */ if (*p <= c && c <= *(p + 2)) { ans = 1; break; |