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:
@@ -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) == '_')
|
||||
|
Reference in New Issue
Block a user