mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Use '\s' instead of ' ' to identify spaces in regex
This commit is contained in:
parent
f90ba4747f
commit
ed9564023f
1 changed files with 3 additions and 3 deletions
|
@ -85,11 +85,11 @@ regex_warnings = {
|
|||
'Description': [
|
||||
(re.compile(r'^No description available$'),
|
||||
"Description yet to be filled"),
|
||||
(re.compile(r'[ ]*[*#][^ .]'),
|
||||
(re.compile(r'\s*[*#][^ .]'),
|
||||
"Invalid bulleted list"),
|
||||
(re.compile(r'^ '),
|
||||
(re.compile(r'^\s'),
|
||||
"Unnecessary leading space"),
|
||||
(re.compile(r'.* $'),
|
||||
(re.compile(r'.*\s$'),
|
||||
"Unnecessary trailing space"),
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue