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 ae3d1d9 commit 4dfb13dCopy full SHA for 4dfb13d
1 file changed
msg2po/core.py
@@ -21,7 +21,7 @@
21
# dotall - whether file entries are multiline
22
FILE_FORMAT = {
23
"msg": {
24
- "pattern": "{(\d+)}{([^}]*)}{([^}]*)}",
+ "pattern": r"{(\d+)}{([^}]*)}{([^}]*)}",
25
"dotall": True,
26
"index": 0,
27
"value": 2,
@@ -33,7 +33,7 @@
33
},
34
35
"sve": {
36
- "pattern": "(\d+):(.*)",
+ "pattern": r"(\d+):(.*)",
37
"dotall": False,
38
39
"value": 1,
@@ -43,7 +43,7 @@
43
44
45
"txt": {
46
47
48
49
@@ -54,7 +54,7 @@
54
55
56
"tra": {
57
- "pattern": "@(\d+)\s*?=\s*?~([^~]*?)~(?:\s)?(?:\[([^]]*)\])?(?:~([^~]*)~)?",
+ "pattern": r"@(\d+)\s*?=\s*?~([^~]*?)~(?:\s)?(?:\[([^]]*)\])?(?:~([^~]*)~)?",
58
59
60
0 commit comments