Skip to content

Commit 881e465

Browse files
committed
simplify regex
1 parent 30866b4 commit 881e465

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/add-overlay-annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import re
2121
from difflib import context_diff
2222

23-
OVERLAY_PATTERN = re.compile(r'overlay\[[a-zA-Z0-9?_\\-]+\]')
23+
OVERLAY_PATTERN = re.compile(r'overlay\[[a-zA-Z?_-]+\]')
2424

2525
def has_overlay_annotations(lines):
2626
'''

0 commit comments

Comments
 (0)