Skip to content

Instantly share code, notes, and snippets.

@dzervas
Last active April 13, 2019 12:17
Show Gist options
  • Save dzervas/279b9fbf01c9513db1ab33ee1dea0919 to your computer and use it in GitHub Desktop.
Save dzervas/279b9fbf01c9513db1ab33ee1dea0919 to your computer and use it in GitHub Desktop.
Help Message Regex Parsers - test @regex101.com
\s+(?:-([a-zA-Z0-9])(?:\s[\w,.<>\[\]]+)?)?,?\s+(?:--([a-z-]+)(?:\s[\w,.<>\[\]:]+)?)?\s+([A-Z][\w \(\)\/,.<>'-;\"]+)
\s+-(\w),\s--([a-z-]+)(?:=[\w:]+)?\s+([\w -:\[\]]+)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment