Regular Expressions 101

Community Patterns

Your search did not match anything

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