Skip to content

Commit 16dd84b

Browse files
Fix Regex for class names (#46)
* fix regex * remove stray . * use * instead
1 parent 5c5e5ff commit 16dd84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lfric_macros/apply_macros.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import subprocess
2020

2121
BLACK_COMMAND = "black --line-length=80"
22-
CLASS_NAME_REGEX = r"vn\d+(_t\d+\w.)?"
22+
CLASS_NAME_REGEX = r"vn\d+(_t\d+\w*)?"
2323
TAG_REGEX = r"\s*=\s*[\"']\s*(\S+)\s*[\"']"
2424

2525

0 commit comments

Comments
 (0)