Skip to content

Commit 0051caa

Browse files
author
ffm
committed
fix handling of regexp/regsub
1 parent 0a1bc62 commit 0051caa

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All notable changes to the "irule" extension will be documented in this file.
44

5+
---
6+
## 1.6.17
7+
### Changed
8+
fix syntax handling of regexp/regsub
9+
10+
---
11+
## 1.6.16
12+
### Changed
13+
A tonne of work to update to modern packages all through the code
14+
515
---
616
## 1.6.14
717
### Changed

syntaxes/irule.tmlanguage.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2959,7 +2959,7 @@ repository:
29592959
patterns:
29602960
-
29612961
begin: '(?<=^|\[|{|;)\s*(::)?\b(regexp|regsub)\b'
2962-
end: "(?=(?<!\\\\)(?:$|[\\n;}\\]]))"
2962+
end: "(?=(?<!\\\\)(?:$|.*[\n;}\\]]))"
29632963
beginCaptures:
29642964
'1':
29652965
name: support.type.ns.separator.irule

0 commit comments

Comments
 (0)