Regular Expressions 101

Community Patterns

scst.conf parser - Target attribute splitter

0

Regular Expression
Python

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

Description

no description available

Submitted by anonymous - 4 years ago