Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Stop regex at the first non-escaped forwards slash - #119

Merged
winstliu merged 1 commit into
masterfrom
wl-more-regex-tweaks
Mar 16, 2017
Merged

winstliu merged 1 commit into
masterfrom
wl-more-regex-tweaks

Conversation

@winstliu

Copy link
Copy Markdown
Contributor

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

Stop matching regex at the first non-escaped forwards slash.

Alternate Designs

None.

Benefits

Prevents highlighting errors when other forward slashes are further down the line

Possible Drawbacks

None.

Applicable Issues

Fixes #118

/cc @as-cii

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong escaping when a forward slash appears inside a string

1 participant