Skip to content

Commit

Permalink
Merge pull request #2 from avarchenko/fix-regex
Browse files Browse the repository at this point in the history
Fix for #1
  • Loading branch information
himdel authored May 29, 2024
2 parents d2e590a + 669d2dd commit 25ffd91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint_po/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import warnings

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

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

Expand Down

0 comments on commit 25ffd91

Please sign in to comment.