mirror of https://gitlab.com/bashrc2/epicyon
Not containing words
parent
f6ee975236
commit
8aac65c3c4
4
utils.py
4
utils.py
|
@ -1597,8 +1597,8 @@ def getNicknameValidationPattern() -> str:
|
||||||
if pattern:
|
if pattern:
|
||||||
pattern += '|' + word
|
pattern += '|' + word
|
||||||
else:
|
else:
|
||||||
pattern = '[^(' + word
|
pattern = '(?!(' + word
|
||||||
return pattern + ')]'
|
return pattern + '))'
|
||||||
|
|
||||||
|
|
||||||
def _isReservedName(nickname: str) -> bool:
|
def _isReservedName(nickname: str) -> bool:
|
||||||
|
|
Loading…
Reference in New Issue