Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
\$(\{(?P<braced_cmd_var>[a-zA-Z0-9_]+)\}|(?P<cmd_var>[a-zA-Z0-9_]+))
"
gm

Description

Launchpad command variables

Submitted by anonymous - 3 years ago