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

Closing match quote delimiter not distinguished from the same character inside a match in Rakudo #3329

Closed
p6rt opened this issue Feb 5, 2014 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Feb 5, 2014

Migrated from rt.perl.org#121180 (status was 'rejected')

Searchable as RT121180$

@p6rt
Copy link
Author

p6rt commented Feb 5, 2014

From @masak

<masak> m​: say "」" ~~ / '」' /
<camelia> rakudo-moar 44ab3c​: OUTPUT«「」」␤␤»
<masak> that, IMO, is not the right output.
* masak submits rakuodbug
<diakopter> what should it be
<masak> 「\」」 , perhaps?
<diakopter> :P
<diakopter> maybe the .perl of it..
<masak> I'd be fine with anything that distinguishes a '」' in the
match from the closing quote delimiter.

@p6rt
Copy link
Author

p6rt commented Feb 5, 2014

From @masak

<moritz> masak​: re 「」」, I disagree that it's a bug
<moritz> masak​: it's meant to be human-readable output. If you want something that's unambiguous in 100% of all cases, use .perl
<masak> moritz​: there is that.
<moritz> masak​: and if we add backlashes (or anything, really) to disambiguate, we have to escape the escape char
<moritz> masak​: which makes the more common cases harder to read
<masak> moritz​: agree. rejecting ticket.

@p6rt
Copy link
Author

p6rt commented Feb 5, 2014

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

@p6rt p6rt closed this as completed Feb 5, 2014
@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