Changes to bring regex based patterns into line with swagger spec.  Fixes #10.