Skip to content
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

Changed behaviour of "\r\n" in alternation regexp since Niceville #4732

Closed
p6rt opened this issue Nov 5, 2015 · 4 comments
Closed

Changed behaviour of "\r\n" in alternation regexp since Niceville #4732

p6rt opened this issue Nov 5, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Nov 5, 2015

Migrated from rt.perl.org#126573 (status was 'resolved')

Searchable as RT126573$

@p6rt
Copy link
Author

p6rt commented Nov 5, 2015

From @stmuk

1. Original Behaviour under Niceville

say so "\r\n" ~~ /[";"|"\r\n"]/
True

2. As of Nov 5

% perl6 -v
This is perl6 version 2015.10-177-gaf78ecc built on MoarVM version 2015.10-54-g1e4912d

say so "\r\n" ~~ /[";"|"\r\n"]/
False

Note in both cases || is True.

@p6rt
Copy link
Author

p6rt commented Nov 11, 2015

From @jnthn

On Thu Nov 05 07​:05​:37 2015, steve.mynott+bitcard@​gmail.com wrote​:

1. Original Behaviour under Niceville

say so "\r\n" ~~ /[";"|"\r\n"]/
True

2. As of Nov 5

% perl6 -v
This is perl6 version 2015.10-177-gaf78ecc built on MoarVM version
2015.10-54-g1e4912d

say so "\r\n" ~~ /[";"|"\r\n"]/
False

Note in both cases || is True.

Regression fixed (along with general handling of NFG synthetics in LTM), and test added in S05-metasyntax/longest-alternative.t.

/jnthn

@p6rt
Copy link
Author

p6rt commented Nov 11, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt closed this as completed Nov 11, 2015
@p6rt
Copy link
Author

p6rt commented Nov 11, 2015

@jnthn - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant