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

$() not parsed correctly in regexes in Rakudo #2927

Closed
p6rt opened this issue Oct 16, 2012 · 4 comments
Closed

$() not parsed correctly in regexes in Rakudo #2927

p6rt opened this issue Oct 16, 2012 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 16, 2012

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

Searchable as RT115298$

@p6rt
Copy link
Author

p6rt commented Oct 16, 2012

From @masak

<TimToady> nr​: $_ = "foo bar"; say m/ $( $_ ) /
<p6eval> niecza v22-13-g0d2a99e​: OUTPUT«#<match from(0) to(7) text(foo
bar) pos([].list) named({}.hash)>␤»
<p6eval> ..rakudo 7731d2​: OUTPUT«#<failed match>␤»
<TimToady> nr​: my $x = "foo bar"; $_ = $x; say m/ $( $x ) /
<p6eval> niecza v22-13-g0d2a99e​: OUTPUT«#<match from(0) to(7) text(foo
bar) pos([].list) named({}.hash)>␤»
<p6eval> ..rakudo 90fad9​: OUTPUT«#<failed match>␤»
<TimToady> that one seems like an unrelated bug
<TimToady> probably not parsing $() as a variable there
<masak> nod
* masak submits rakudobug
<TimToady> nr​: my $x = "foo bar"; $_ = $x; say m/ $( 1 2 ) /
<p6eval> niecza v22-13-g0d2a99e​: OUTPUT«===SORRY!===␤␤Unable to parse
argument list [...]
<p6eval> ..rakudo 90fad9​: OUTPUT«#<failed match>␤»
<TimToady> yes, it thinks it's just $ and () separately

@p6rt
Copy link
Author

p6rt commented Jan 25, 2013

From @FROGGS

Fix​:
Raku/nqp@b8a381e

Test​:
Raku/roast@5a4c6b7

@p6rt
Copy link
Author

p6rt commented Jan 25, 2013

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

@p6rt
Copy link
Author

p6rt commented Jan 25, 2013

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

@p6rt p6rt closed this as completed Jan 25, 2013
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant