mirror of https://gitlab.com/bashrc2/epicyon
Double backslash
parent
8de7e9d534
commit
200a4bff31
4
utils.py
4
utils.py
|
@ -1595,9 +1595,9 @@ def getNicknameValidationPattern() -> str:
|
|||
pattern = ''
|
||||
for word in reservedNames:
|
||||
if pattern:
|
||||
pattern += '(?!.*\b' + word + '\b)'
|
||||
pattern += '(?!.*\\b' + word + '\\b)'
|
||||
else:
|
||||
pattern = '^(?!.*\b' + word + '\b)'
|
||||
pattern = '^(?!.*\\b' + word + '\\b)'
|
||||
return pattern + '.*$'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue