Skip to content

RegexpError with look-behind #1269

@LFDM

Description

@LFDM

jruby (tested with 1.7.5 and 1.7.8) goes down when confronted with a lookbehind that includes another anchor.

SyntaxError: (RegexpError) invalid pattern in look-behind: /(?<=\bfoo)bar./

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions