Skip to content

Commit 25ffd91

Browse files
authored
Merge pull request #2 from avarchenko/fix-regex
Fix for #1
2 parents d2e590a + 669d2dd commit 25ffd91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lint_po/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import warnings
77

88
# find any {num} {str} <num> </num> <num/> %(str)s
9-
REGEX = r'(\{(\w+|\d+)\})|(<\/?\d+\/?>)|(%(\(\w+\))?.)'
9+
REGEX = r'(\{(\w+|\d+)\})|(<\/?\d+\/?>)|(%(\(\w+\))?\w)'
1010

1111
PLURAL_REGEX = r'^{(\w+), plural, .*}$'
1212

0 commit comments

Comments
 (0)