Skip to content
This repository was archived by the owner on Jun 6, 2018. It is now read-only.
This repository was archived by the owner on Jun 6, 2018. It is now read-only.

Octal character literal is mistaken for backreference #37

Description

@clupasq

The expression /\101/ matches the character with the ASCII code octal 101 (decimal 65), which is A.

Here's a test: https://jsfiddle.net/ekaeb61p/

However, Regexper wrongly interprets the above pattern as meaning a backreference to group 1 (the \1), followed by a literal "01": https://regexper.com/#%2F%5C101%2F

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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