Skip to content

Use ES2018 RegExp lookbehind assertions when available #1708

@ExE-Boss

Description

@ExE-Boss

ECMAScript 2018 adds built‑in support for lookbehind assertions to regular expressions, which can be a lot faster than the current pseudo‑lookbehind implemented in Prism.

Also, it’d be nice to use the official syntax and only use the pre‑ES2018 implementation when necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions