Mercurial > hg > xemacs-beta
comparison src/regex.c @ 404:2f8bb876ab1d r21-2-32
Import from CVS: tag r21-2-32
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:16:07 +0200 |
parents | 74fd4e045ea6 |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
403:9f011ab08d48 | 404:2f8bb876ab1d |
---|---|
2386 are working. */ | 2386 are working. */ |
2387 PATFETCH (c); | 2387 PATFETCH (c); |
2388 if (c == ':' || c == ']' || p == pend | 2388 if (c == ':' || c == ']' || p == pend |
2389 || c1 == CHAR_CLASS_MAX_LENGTH) | 2389 || c1 == CHAR_CLASS_MAX_LENGTH) |
2390 break; | 2390 break; |
2391 str[c1++] = c; | 2391 str[c1++] = (char) c; |
2392 } | 2392 } |
2393 str[c1] = '\0'; | 2393 str[c1] = '\0'; |
2394 | 2394 |
2395 /* If isn't a word bracketed by `[:' and:`]': | 2395 /* If isn't a word bracketed by `[:' and:`]': |
2396 undo the ending character, the letters, and leave | 2396 undo the ending character, the letters, and leave |