Command line parser. Declarative arguments support. Rich set of argument types (switches, enums, files, etc...). Mutually exclusive arguments validations.
137
stars
30
forks
source link
Parsing fails when there is equal sign (=) in argument #43
Closed
prog-rajkamal closed 7 years ago
Issue: while parsing "--text=VxSSSZ0QN2ViZgvcBfkttoiV2gwQ8XcOGp3Mx4ud6vQ=" (note there are two = signs here)
Regex would match: name = "--text=VxSSSZ0QN2ViZgvcBfkttoiV2gwQ8XcOGp3Mx4ud6vQ" arg = ""//blank
now regex will match: name = "--text" arg = "VxSSSZ0QN2ViZgvcBfkttoiV2gwQ8XcOGp3Mx4ud6vQ="
Added a unit test as well.