Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

0

Regular Expression
Python

r"
(?:^|(?:, *))((?:[a-zA-Z0-9_]+ *= *)?(?:\"[^\"]*?\"|\'[^\']*?\'|{.*?}|\${[^, ]*?(?:\(.*\))}|\[.*?\]|(?:[^, \"\'\n])+))(?=(?:, *)|$)
"
gm

Description

NUTS Expression: split the args

Submitted by anonymous - 5 years ago