Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-01-18 17:18
Flavor·Java

"
(?<=-{1,2})(?:to?)=?\s*([^\s]*)\s*
"
gm
Open regex in editor

Description

Matches argumetn to as:

  • -t
  • --to
  • -t= ...
Submitted by rperez-torro