mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Avoid some false positives in the punctuation check
This commit is contained in:
parent
29ab3cf64d
commit
eee7f8b4f6
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ regex_pedantic = {
|
||||||
"No need to specify that the app is... an app"),
|
"No need to specify that the app is... an app"),
|
||||||
(re.compile(r'.*\b(free software|open source)\b.*', re.IGNORECASE),
|
(re.compile(r'.*\b(free software|open source)\b.*', re.IGNORECASE),
|
||||||
"No need to specify that the app is Free Software"),
|
"No need to specify that the app is Free Software"),
|
||||||
(re.compile(r'.*[.,!?].*'),
|
(re.compile(r'.*[a-z0-9][.,!?][ $]'),
|
||||||
"Punctuation should be avoided"),
|
"Punctuation should be avoided"),
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue