Skip to content

Moved dash to end of character class#92

Open
dionesku wants to merge 1 commit intosunra:masterfrom
dionesku:regex-fixes-1
Open

Moved dash to end of character class#92
dionesku wants to merge 1 commit intosunra:masterfrom
dionesku:regex-fixes-1

Conversation

@dionesku
Copy link

The dash inside a character class needs to be the last character, otherwise it means "character range" and throws an error in classes like [\w-:]+

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant