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

Implement regex support in .trans in Rakudo #2267

Closed
p6rt opened this issue Nov 17, 2010 · 4 comments
Closed

Implement regex support in .trans in Rakudo #2267

p6rt opened this issue Nov 17, 2010 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Nov 17, 2010

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

Searchable as RT79366$

@p6rt
Copy link
Author

p6rt commented Nov 17, 2010

From @masak

<masak> rakudo​: say "_block".trans(/foo/ => "bar")
<p6eval> rakudo 015d77​: OUTPUT«barbar␤»
<masak> how barbaric.
* masak submits rakudobug
<masak> S05​:4173​: "To achieve greater power, any recognition element
of the left side may be specified by a regex that can do character
classes, lookahead, etc."
<masak> I see no sign in the Rakudo source code that Str.trans takes
regexes into account, so I'll make this a TODO ticket.
<masak> the output above is entirely spurious.

@p6rt
Copy link
Author

p6rt commented Jan 17, 2011

From @felliott

Hello,

This works in current rakudo and has tests in
S05-transliteration/trans.t. I think this can be marked as resolved.

Cheers,
Fitz Elliott

1 similar comment
@p6rt
Copy link
Author

p6rt commented Jan 17, 2011

From @felliott

Hello,

This works in current rakudo and has tests in
S05-transliteration/trans.t. I think this can be marked as resolved.

Cheers,
Fitz Elliott

@p6rt
Copy link
Author

p6rt commented Jan 17, 2011

@masak - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jan 17, 2011
@p6rt p6rt added the Todo 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