We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a766650 commit d5f64c7Copy full SHA for d5f64c7
scripts/constants.py
@@ -1,7 +1,7 @@
1
import re
2
3
BRACES_PLACEHOLDER_REGEX = re.compile(r"(?:(?<=[^{])|^)\{(\d+)\}")
4
-PERCENT_PLACEHOLDER_REGEX = re.compile(r"(?:(?<=[^%])|^)%(\d+)")
+PERCENT_PLACEHOLDER_REGEX = re.compile(r"(?:(?<!\\%)|^)%(\d+)")
5
6
RESX_FILE_REGEX = re.compile(r"^(.*?)((?<=\.)[a-z]{2})?\.resx$")
7
PO_FILE_REGEX = re.compile(r"^[a-z]{2}.po$")
0 commit comments