You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Syntax Test - Regex Compatibility build system warns about variables that are incompatible with sregex without checking the context in which those variables are applied.
Expected behavior
Variables would not be checked for compatibility directly, only the (expanded) match patterns should be checked and reported on.
Actual behavior
Packages/User/test-var-with-backref.sublime-syntax:6:12: Back references are unsupported
FAILED: 1 pattern in "Packages/User/test-var-with-backref.sublime-syntax" are incompatible with the new regex engine
[Finished]
Steps to reproduce
Create a syntax definition with the following content:
Save it, for example as Packages/User/test-var-with-backref.sublime-syntax
Tools menu -> Build With...
Syntax Tests - Regex Compatibility
See the warning despite there not being any if the {{testme}} reference is replaced with the contents of the variable directly and the variable definition removed.
Environment
Operating system and version:
Windows 10
Monitor:
Resolution: 1920x1080
dpi_scale used in ST: 0
ui_scale: 1.0
DPI mode: per-monitor v2
Sublime Text:
Build 3180
64 bit
The text was updated successfully, but these errors were encountered:
Summary
The Syntax Test - Regex Compatibility build system warns about variables that are incompatible with sregex without checking the context in which those variables are applied.
Expected behavior
Variables would not be checked for compatibility directly, only the (expanded) match patterns should be checked and reported on.
Actual behavior
Steps to reproduce
Packages/User/test-var-with-backref.sublime-syntax
{{testme}}
reference is replaced with the contents of the variable directly and the variable definition removed.Environment
dpi_scale
used in ST: 0ui_scale
: 1.0The text was updated successfully, but these errors were encountered: