Skip to content

Commit

Permalink
Fix Regex for class names (#46)
Browse files Browse the repository at this point in the history
* fix regex

* remove stray .

* use * instead
  • Loading branch information
james-bruten-mo authored Dec 18, 2024
1 parent 5c5e5ff commit 16dd84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lfric_macros/apply_macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import subprocess

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


Expand Down

0 comments on commit 16dd84b

Please sign in to comment.