Don't need to escape symbols in brackets

This commit is contained in:
Mark VanderVoord
2024-04-02 19:28:29 -04:00
parent df73448935
commit 119f6607d9
+1 -1
View File
@@ -99,7 +99,7 @@ if $0 == __FILE__
# --strippables are dealt with separately since the user is allowed to
# enter any valid regular expression as argument
options = option_maker(options, 'strippables', Regexp.last_match(1))
when /^--([a-zA-Z0-9._\\\/:\s]+)="?([a-zA-Z0-9._\-\\\/:\s;@#%!$&\(\)\*]*)"?/x
when /^--([a-zA-Z0-9._\\\/:\s]+)="?([a-zA-Z0-9._\-\\\/:\s;@#%!$&()*]*)"?/x
options = option_maker(options, Regexp.last_match(1),
Regexp.last_match(2))
else