Skip to content
Snippets Groups Projects

Fix regex matching in LHCbPR test schedule definitions

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading