Skip to content

Fixed: Escape dash character#11

Merged
gampleman merged 1 commit intoelmcraft:masterfrom
ahankinson:fixed-regex-escape-dash
Sep 4, 2023
Merged

Fixed: Escape dash character#11
gampleman merged 1 commit intoelmcraft:masterfrom
ahankinson:fixed-regex-escape-dash

Conversation

@ahankinson
Copy link
Contributor

An unescaped dash can be misinterpreted in JavaScript, so it is escaped.

This is a follow-on from elm-community/string-extra#47, but the method of fixing it is to explicitly escape the dash, rather than moving its position.

An unescaped dash can be misinterpreted in JavaScript, so it is escaped.

This is a follow-on from elm-community/string-extra#47, but the method of fixing it is to explicitly escape the dash, rather than moving its position.
@gampleman gampleman merged commit 7fabb10 into elmcraft:master Sep 4, 2023
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.

2 participants