Merge pull request #10 from xi/variable-types

allow full list of conversion types in printf-style variables
This commit is contained in:
Julien Palard 2019-11-18 22:32:43 +01:00 committed by GitHub
commit a155417d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ def clear(po_path, line, drop_capitalized=False):
r"{[a-z_]*?}", # Sphinx variable
r"'?-?\b([0-9]+\.)*[0-9]+\.[0-9abcrx]+\b'?", # Versions
r"[0-9]+h", # Hours
r"%\([a-z_]+?\)s", # Sphinx variable
r"%\([a-z_]+?\)[diouxXeEfFgGcrsa%]", # Sphinx variable
r"« . »", # Single letter examples (typically in Unicode documentation)
"\xad", # soft hyphen
}