Skip to content

Fix regex matching in LHCbPR test schedule definitions

Rosen Matev requested to merge rmatev-fix-slot-regex into master

Since re.match is used for matching slot patterns, a definition that has <slot>lhcb-head</slot> would match lhcb-head but also lhcb-head-2. This MR fixes this by using fullmatch (a port from python 3 re) and extends the corresponding test.

This is a follow up on !310 (merged) that introduced regex-based matching.

Merge request reports