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

Combinators get matched by regex even when no ignoremark is set #5648

Closed
p6rt opened this issue Sep 7, 2016 · 6 comments
Closed

Combinators get matched by regex even when no ignoremark is set #5648

p6rt opened this issue Sep 7, 2016 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Sep 7, 2016

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

Searchable as RT129221$

@p6rt
Copy link
Author

p6rt commented Sep 7, 2016

From @zoffixznet

The expectation is this would fail to match, because I'm only asking for digits​:

  <MetaZoffix> m​: say "7\x[308]" ~~ /^ \d+ $/
  <+camelia> rakudo-moar f0bb58​: OUTPUT«「7̈」␤»

There's a bunch of variants of this in http://irclog.perlgeek.de/perl6/2016-09-07#i_13166009

Fixing this should automagically fix https://rt-archive.perl.org/perl6/Ticket/Display.html?id=128545#ticket-history

@p6rt
Copy link
Author

p6rt commented Sep 7, 2016

From @jnthn

On Wed Sep 07 10​:35​:51 2016, cpan@​zoffix.com wrote​:

The expectation is this would fail to match, because I'm only asking
for digits​:

<MetaZoffix> m​: say "7\x[308]" ~~ /^ \d+ $/
<+camelia> rakudo-moar f0bb58​: OUTPUT«「7̈」␤»

Actually, this is intended behavior. NFG synthetics take on the character properties of their base character.

/jnthn

@p6rt
Copy link
Author

p6rt commented Sep 7, 2016

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

@p6rt
Copy link
Author

p6rt commented Sep 7, 2016

From @geekosaur

On Wed, Sep 7, 2016 at 5​:12 PM, jnthn@​jnthn.net via RT <
perl6-bugs-followup@​perl.org> wrote​:

Actually, this is intended behavior. NFG synthetics take on the character
properties of their base character.

How do you match any base Unicode digit (i.e. not just the ASCII 0-9)
without any marks?

--
brandon s allbery kf8nh sine nomine associates
allbery.b@​gmail.com ballbery@​sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

@p6rt
Copy link
Author

p6rt commented Sep 8, 2016

@p6rt
Copy link
Author

p6rt commented Sep 8, 2016

@zoffixznet - Status changed from 'open' to 'rejected'

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

No branches or pull requests

1 participant