Page MenuHomePhabricator

Fix two issues with repository monogram regular expressions
ClosedPublic

Authored by epriestley on Jan 18 2016, 5:36 PM.
Tags
None
Referenced Files
F19513383: D15049.diff
Tue, Jan 13, 12:08 PM
F19510561: D15049.diff
Sun, Jan 11, 11:49 AM
F19273406: D15049.id.diff
Dec 22 2025, 11:36 PM
F19235192: D15049.diff
Dec 21 2025, 6:25 PM
F18962627: D15049.diff
Nov 13 2025, 5:47 PM
F18941509: D15049.id.diff
Nov 11 2025, 10:15 AM
F18940628: D15049.diff
Nov 11 2025, 8:46 AM
F18882624: D15049.diff
Nov 6 2025, 11:10 PM
Subscribers
None

Details

Summary

Ref T4245. Fixes T10172. These regular expressions were simply incorrect: they intend <start> (form one | form two) <end> but were written as (<start> form one) | (form two <end>) which allowed stuff like "R2/R13" to be interpreted as a monogram because it matches (<start> form one).

Test Plan

Parsed commit ba46ffa6169c from RTEMS repository, see T10172. Before patch, got an identical trace; after patch, clean import.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix two issues with repository monogram regular expressions.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
avivey added a reviewer: avivey.
This revision is now accepted and ready to land.Jan 18 2016, 5:46 PM
This revision was automatically updated to reflect the committed changes.