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
match a single byte \C doesn't work in character class #8840
Comments
From cdl@genome.stanford.eduThis is a bug report for perl from cdl@best.com, The following prints "yes" (ie. works) perl -we 'print(("a" =~ m/\C/) ? "yes" : "no", "\n")' But this (added [] around \C) prints a warning and doesn't work perl -we 'print(("a" =~ m/[\C]/) ? "yes" : "no", "\n")' I tested this with and without 'use charnames' I've no personal need for this to be fixed, I'm simply trying to Flags: Site configuration information for perl v5.8.6: Configured by root at Thu Nov 2 10:35:22 PST 2006. Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Locally applied patches: @INC for perl v5.8.6: Environment for perl v5.8.6: |
From @rgarciaOn 19/03/07, via RT Christopher Lane <perlbug-followup@perl.org> wrote:
I'm not sure that \C or \X would be useful, or would even make sense, |
The RT System itself - Status changed from 'new' to 'open' |
From @khwilliamsonThanks for submitting this report. However, it has been overtaken by events. The decision has been made to remove \C entirely. (This was supposed to be done for 5.24, but slipped through the cracks, so will be done in 5.26) So there is no need to document something that is about to go away. |
@khwilliamson - Status changed from 'open' to 'rejected' |
From @khwilliamsonOn 03/10/2016 11:01 AM, Karl Williamson via RT wrote:
I should have been clearer. The ticket wasn't actually proposing that |
Migrated from rt.perl.org#41916 (status was 'rejected')
Searchable as RT41916$
The text was updated successfully, but these errors were encountered: