diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-05 15:36:08 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-09 10:13:59 -0700 |
commit | 67addccf238c3d67d84f7dc1f5b4a2e791bf68da (patch) | |
tree | 2d2735f5a0e41ec9baa00395f18f1334965a726a /regexec.c | |
parent | 07315176ac6b656ebc6d789680513408aaa17075 (diff) | |
download | perl-67addccf238c3d67d84f7dc1f5b4a2e791bf68da.tar.gz |
Allow [[:blank:]] to work under locale
This takes advantage of the recently added Configure probe, and if the
platform has an isblank library function, calls that under locale. This
now matches the documentation
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6705,8 +6705,8 @@ S_reginclass(pTHX_ const regexp * const prog, register const regnode * const n, (ANYOF_CLASS_TEST(n, ANYOF_NXDIGIT) && !isXDIGIT(c)) || (ANYOF_CLASS_TEST(n, ANYOF_PSXSPC) && isPSXSPC(c)) || (ANYOF_CLASS_TEST(n, ANYOF_NPSXSPC) && !isPSXSPC(c)) || - (ANYOF_CLASS_TEST(n, ANYOF_BLANK) && isBLANK(c)) || - (ANYOF_CLASS_TEST(n, ANYOF_NBLANK) && !isBLANK(c)) + (ANYOF_CLASS_TEST(n, ANYOF_BLANK) && isBLANK_LC(c)) || + (ANYOF_CLASS_TEST(n, ANYOF_NBLANK) && !isBLANK_LC(c)) ) /* How's that for a conditional? */ ) { match = TRUE; |