Regular Expressions 101

Library entries

scst.conf parser - Target attribute splitter

Vote

0

Regular Expression
python

'
(^\s+(?P<att_name>[^\s]+)\s+(?P<att_value>[^\s{]+|"[^"]+?")\s?(?P<att_body>{[\s\S]+?})?)$
'
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago