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
/\S/ is not the same as /[\S]/ #1182
Comments
From rick@consumercontact.comThis is a bug report for perl from rick@consumercontact.com, /[\S]/ is matching more stuff than /\S/ I get the same results with 5.003 on DGUX, 5.004_03 on Linux, $ perl -e '@a=map chr,0..255;die if grep(/\S/,@a)!=grep(/[^\s]/,@a)' These are the characters that don't match \S and [\S] on this system. $ perl -le 'for (0..255) {print unless chr($_) =~ /\S/}' Site configuration information for perl 5.00503: Configured by rick at Mon Jul 26 15:51:49 EDT 1999. Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Locally applied patches: @INC for perl 5.00503: Environment for perl 5.00503: |
From [Unknown Contact. See original ticket]It looks like /\D/ isn't the same as /[\D]/ in 5.5.650 either (it is in I have probably naively went too far on this but it seems to work. It I don't know how to test the UTF8 stuff. Rick *** perl5.5.650/regexec.c.old Thu Feb 17 09:28:07 2000 |
Migrated from rt.perl.org#2152 (status was 'resolved')
Searchable as RT2152$
The text was updated successfully, but these errors were encountered: