This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regcomp.c: Keep parse pointer on full character boundary
[perl5.git]
/
regcomp.c
diff --git
a/regcomp.c
b/regcomp.c
index
beec98d
..
611cc1c
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-13446,7
+13446,7
@@
S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV** return_invlist,
RExC_parse++;
if (*RExC_parse == 'c') {
/* Skip the \cX notation for control characters */
- RExC_parse
++
;
+ RExC_parse
+= UTF ? UTF8SKIP(RExC_parse) : 1
;
}
break;
case '[':