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

^ and $ not multiline #30

Closed
slevithan opened this issue Dec 23, 2024 · 0 comments
Closed

^ and $ not multiline #30

slevithan opened this issue Dec 23, 2024 · 0 comments

Comments

@slevithan
Copy link

slevithan commented Dec 23, 2024

These anchors are always multiline in Onigmo, but js_regex is not treating them as such.

Additionally, they should only treat \n as line feeds (unlike JS), and (at least in Oniguruma--haven't tested in Onigmo) ^ should not match after a string-terminating line feed (again unlike JS in multiline mode).

@jaynetics jaynetics changed the title ^ and $ not mutiline ^ and $ not multiline Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant