ThePoShWolf/Curl2PS

Support curl parameters without values (switch parameters)

ThePoShWolf opened this issue · 1 comments

Currently the regex in ConvertTo-IRM assumes that all parameters in the user supplied curl string have a value. This was a naive assumption that needs to be fixed.

I've got a pretty good idea how to update the regex to fix this. Currently it looks after the parameter name looking for a single quote, double quote, or anything else. Instead, it should look far a single quote, double quote, or anything other than a -.