Patch Changes
-
#620
0f3ca3b- Fix regex literal parsing ambiguity with file pathsRemoved grammar-level regex literal (
/pattern/) parsing which caused paths like/folder/foo/barto be incorrectly parsed as regex patterns. Regex-like strings are now detected at runtime by specific consumers (remap()match values,matchestype option) instead of at the grammar level. Unquoted strings that look like/pattern/flagsare treated as regex in those contexts; wrap in quotes to force literal string matching.