We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9ceca7 commit 1bb9995Copy full SHA for 1bb9995
lib/utils.py
@@ -581,11 +581,11 @@ def cyclic_pattern_charset(charset_type=None):
581
charset_type = config.Option.get("pattern")
582
583
if charset_type == 1: # extended type
584
- charset[1] = "%$-;" + charset[1]
+ charset[1] = "%$-;" + re.sub("[sn]", "", charset[1])
585
charset[2] = "sn()" + charset[2]
586
587
if charset_type == 2: # maximum type
588
- charset += ['!"#$%&\()*+,-./:;<=>?@[\\]^_{|}~'] # string.punctuation
+ charset += ['!"#$%&\()*+,-./:;<=>?@[]^_{|}~'] # string.punctuation
589
590
mixed_charset = mixed = ''
591
k = 0
0 commit comments