Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2019-02-06 09:39
Flavor·Python

r"
(?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
Open regex in editor

Description

no description available

Submitted by anonymous