Let's enable validation of examples. failures should trip errors.

Also make them verbose so we can see what is going on.
This commit is contained in:
Mark VanderVoord
2024-04-02 18:44:35 -04:00
parent 93e2f528cc
commit 9cc8fb5302
6 changed files with 7 additions and 7 deletions
+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