-
Notifications
You must be signed in to change notification settings - Fork 1
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
"Iteration Past End" with Empty Character Class that has unescaped space in it #6010
Comments
From @zoffixznetthe :sigspace adverb does not affect spaces inside character class. Should it? Note that having JUST space inside also causes a weird error to be thrown: <Zoffix> m: say " " ~~ m:s/<-[ ]>/ <Zoffix> m: say " " ~~ m:s/<-[x ]>/ <camelia> rakudo-moar 1aeea1: OUTPUT«「 」» Discovery: https://irclog.perlgeek.de/perl6/2017-01-19#i_13948706 |
From @jnthnOn Wed, 18 Jan 2017 18:16:20 -0800, cpan@zoffix.com wrote:
No, I don't think so. `<.ws>` can match any number of characters (including zero). A char class is defining something a matcher for a single character.
That one's certainly a bug. Since whitespace in a charclass is not significant, then it should complain about an empty charclass, preferably with a hint about space.
/jnthn |
The RT System itself - Status changed from 'new' to 'open' |
From @AlexDanielFurther discussion on rakudo/rakudo#1622. On 2017-01-21 14:13:42, jnthn@jnthn.net wrote:
|
@AlexDaniel - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#130586 (status was 'resolved')
Searchable as RT130586$
The text was updated successfully, but these errors were encountered: