regex: workaround MB_CUR_MAX in cygwin, plus a few cleanups.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@413 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2002-03-12 15:54:01 +00:00
parent de1a4700b6
commit ba03bd25be
4 changed files with 34 additions and 13 deletions

View File

@@ -170,4 +170,4 @@ struct re_guts {
/* misc utilities */
#define OUT (CHAR_MAX+1) /* a non-character value */
#define ISWORD(c) (isalnum((uch)(c)) || (c) == '_')
#define ISWORD(c) (isalpha((uch)(c)) || isdigit((uch)(c)) || (c) == '_')