Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(?P<command>\w{1,})(\s?-\s?(?P<description>.*))?
"
gm

Description

no description available

Submitted by anonymous - 4 years ago