diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-03-24 02:26:38 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-03-24 02:26:38 +0000 |
commit | f96ec2a286b2f6894935f96d87679d41cc20f6f6 (patch) | |
tree | 002a23af520bba4ed5e1d818e62d01cc0b807300 /regcomp.c | |
parent | cf6cacac241244490f8321a49c06199f86c6f325 (diff) | |
download | perl-f96ec2a286b2f6894935f96d87679d41cc20f6f6.tar.gz |
fix off-by-one that resulted in misparse of C</[\x{80}-\x{81}]/>
p4raw-id: //depot/perl@3136
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2498,7 +2498,7 @@ regclassutf8(void) e = strchr(PL_regcomp_parse++, '}'); if (!e) FAIL("Missing right brace on \\x{}"); - value = scan_hex(PL_regcomp_parse + 1, e - PL_regcomp_parse, &numlen); + value = scan_hex(PL_regcomp_parse, e - PL_regcomp_parse, &numlen); PL_regcomp_parse = e + 1; } else { |