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

Re: minimal m//g matches appear busted #995

Closed
p5pRT opened this issue Dec 27, 1999 · 1 comment
Closed

Re: minimal m//g matches appear busted #995

p5pRT opened this issue Dec 27, 1999 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Dec 27, 1999

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

Searchable as RT1945$

@p5pRT
Copy link
Author

p5pRT commented Dec 27, 1999

From ilya@math.ohio-state.edu

End of -Mre=debug​:

  6 <foo %s> < bar %s> | 10​: END
  Match successful!
  Guessing start of match, REx `(.*?)%s' against ` bar %s'...
  Found floating substr `%s' at offset 5...
  Did not find /^/m...
  Match rejected by optimizer
  foo .*? bar %s

So it thinks there is an anchor /^/m. Probably an old bug exposed by
new optimizations...

Ilya

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