diff options
author | Karl Williamson <khw@cpan.org> | 2017-10-27 10:08:35 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-10-27 10:22:11 -0600 |
commit | e1342f665c7dae0281567a274d641094486f2a48 (patch) | |
tree | 85b7e78ce79b55b8383f5b56b8441029ed08d8ac /toke.c | |
parent | f7525edc9418155e0387fee96cf61d4752a10757 (diff) | |
download | perl-e1342f665c7dae0281567a274d641094486f2a48.tar.gz |
toke.c: Add commentary
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -3627,11 +3627,12 @@ S_scan_const(pTHX_ char *start) * For non-patterns, the named characters are converted to * their string equivalents. In patterns, named characters are * not converted to their ultimate forms for the same reasons - * that other escapes aren't. Instead, they are converted to - * the \N{U+...} form to get the value from the charnames that - * is in effect right now, while preserving the fact that it - * was a named character, so that the regex compiler knows - * this. + * that other escapes aren't (mainly that the ultimate + * character could be considered a meta-symbol by the regex + * compiler). Instead, they are converted to the \N{U+...} + * form to get the value from the charnames that is in effect + * right now, while preserving the fact that it was a named + * character, so that the regex compiler knows this. * * The structure of this section of code (besides checking for * errors and upgrading to utf8) is: |