Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
^(?P<bar>\|(?:{(?P<num>[0-9]+), *(?P<denom>[0-9]+)})?)? *(?P<chord>\[[^\]]+\])?(?P<lyric>.*)$
"
gm

Description

no description available

Submitted by anonymous - 8 years ago