forked from rDrama/rDrama
fix "Gnu/Linux"
parent
73fa4922a6
commit
02bb7da0c1
|
@ -135,7 +135,7 @@ def sub_matcher(match, X_FOR_REPLACING):
|
||||||
if match_str.isupper():
|
if match_str.isupper():
|
||||||
return repl.upper()
|
return repl.upper()
|
||||||
if match_str[0].isupper():
|
if match_str[0].isupper():
|
||||||
return repl.capitalize()
|
return repl[0].upper() + repl[1:]
|
||||||
return repl
|
return repl
|
||||||
|
|
||||||
def sub_matcher_slurs(match):
|
def sub_matcher_slurs(match):
|
||||||
|
|
Loading…
Reference in New Issue