Regular Expressions 101

Library entries

HGam mxAOD

Vote

0

Regular Expression
python

"
(?P<MC>mc16[acde])\.(?P<SHORTNAME>.+?)\.(?P<MXAODFLAVOUR>MxAOD.+?)\.(e[0-9]+_s[0-9]+_r[0-9]+)?_?(?P<PTAG>p[0-9]+)(?:\.(?P<HTAG>h[0-9]+(?:-\w+?)?))?(?:(?:\.|_)(?P<N>[0-9]+))?\.root
"
gm

Description

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