Skip to content

^ and $ not multiline #30

@slevithan

Description

@slevithan

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions