diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-09-24 16:23:53 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-09-24 16:23:53 +0000 |
commit | af1cda3afb77f3e43c3c8069bd3b784abbcc2036 (patch) | |
tree | 017d58feceff97ee27ad288230fa7017fdac1feb /src/pcre2_maketables.c | |
parent | 78ec284cdef4eefe5e551ca90f444833130ed834 (diff) | |
download | pcre2-af1cda3afb77f3e43c3c8069bd3b784abbcc2036.tar.gz |
Implement Perl 5.28's alphabetic lookaround syntax, e.g. (*pla:...) and also
(*atomic:...).
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1018 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_maketables.c')
-rw-r--r-- | src/pcre2_maketables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcre2_maketables.c b/src/pcre2_maketables.c index 537edba..d40c2f1 100644 --- a/src/pcre2_maketables.c +++ b/src/pcre2_maketables.c @@ -138,8 +138,8 @@ for (i = 0; i < 256; i++) int x = 0; if (isspace(i)) x += ctype_space; if (isalpha(i)) x += ctype_letter; + if (islower(i)) x += ctype_lcletter; if (isdigit(i)) x += ctype_digit; - if (isxdigit(i)) x += ctype_xdigit; if (isalnum(i) || i == '_') x += ctype_word; *p++ = x; } |