-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EXPERIMENT] more paired delimiters for quote-like operators #19765
Comments
|
There is a full list (as of Unicode 14) in https://perldoc.perl.org/feature#The-'extra_paired_delimiters'-feature, but the build code generates the delimiters from the Unicode database shipped with Perl. The algorithm is in |
|
I apologize for the noise: I thought that I had deleted my comment before anyone would notice. So you're answering my now-extinct question (about what makes "many non-ASCII mirrored bracketing pairs") - for which I had in the meantime found another answer in perldoc feature. |
|
Note that list may at some point move from there to a more permanent documentation like perlop. |
|
This is also the code used to generate the constants for the C code: https://github.com/Perl/perl5/blob/v5.39.9/regen/unicode_constants.pl#L391 which becomes https://github.com/Perl/perl5/blob/v5.39.9/unicode_constants.h#L100. |
Perl 5.36.0 introduced the extra_paired_delimiters feature, which allows many non-ASCII mirrored bracketing pairs to be used for quote-like operators. For example:
This is likely to change as Unicode evolves. In fact, Unicode appears to be in the process of identifying just the character set we'd like to use!
The text was updated successfully, but these errors were encountered: