Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Incorrect handling of dashes inside character classes #31

@ju1ius

Description

@ju1ius

Hi again 😉,

Parsing the pattern [\w-] throws Unexpected token "-" (range) at line 1 and column 4.
When encountered at the last position of a character class, a dash should produce a token with the value "-".


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions