[GH-ISSUE #82] Syntax Highlighting breaks on regex expressions with unmatched single quotes #69

Open
opened 2026-05-05 15:01:08 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @DovRine on GitHub (Jul 28, 2016).
Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/82

The following valid regular expression breaks syntax highlighting when this package is enabled (See screenshots).

/^([a-zA-Z\u0080-\u024F]+(?:. |-| |'))[a-zA-Z\u0080-\u024F]$/

With meteor-api disabled:
xsnap27072016_224406

With meteor-api enabled:
xsnap27072016_224541

Version Information:
xsnap27072016_224701

xsnap27072016_224740

Originally created by @DovRine on GitHub (Jul 28, 2016). Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/82 The following valid regular expression breaks syntax highlighting when this package is enabled (See screenshots). /^([a-zA-Z\u0080-\u024F]+(?:. |-| |'))_[a-zA-Z\u0080-\u024F]_$/ With meteor-api disabled: ![xsnap27072016_224406](https://cloud.githubusercontent.com/assets/13970334/17202069/b701630c-544b-11e6-9ad6-06350ab2e5f9.png) With meteor-api enabled: ![xsnap27072016_224541](https://cloud.githubusercontent.com/assets/13970334/17202096/e2bb4b3e-544b-11e6-8e72-e66706e585e0.png) Version Information: ![xsnap27072016_224701](https://cloud.githubusercontent.com/assets/13970334/17202119/1a8162d8-544c-11e6-9cc2-35f5a47a80d9.png) ![xsnap27072016_224740](https://cloud.githubusercontent.com/assets/13970334/17202127/25af42e2-544c-11e6-8928-3e59d7c1a268.png)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/meteor-api#69
No description provided.