Skip to content

Commit 119f660

Browse files
committed
Don't need to escape symbols in brackets
1 parent df73448 commit 119f660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cmock.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def option_maker(options, key, val)
9999
# --strippables are dealt with separately since the user is allowed to
100100
# enter any valid regular expression as argument
101101
options = option_maker(options, 'strippables', Regexp.last_match(1))
102-
when /^--([a-zA-Z0-9._\\\/:\s]+)="?([a-zA-Z0-9._\-\\\/:\s;@#%!$&\(\)\*]*)"?/x
102+
when /^--([a-zA-Z0-9._\\\/:\s]+)="?([a-zA-Z0-9._\-\\\/:\s;@#%!$&()*]*)"?/x
103103
options = option_maker(options, Regexp.last_match(1),
104104
Regexp.last_match(2))
105105
else

0 commit comments

Comments
 (0)