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
F18695165: D15049.id36344.diff
Sat, Sep 27, 5:10 AM
F18642362: D15049.id36345.diff
Thu, Sep 18, 11:42 PM
F18620097: D15049.id36344.diff
Mon, Sep 15, 4:14 AM
F18608986: D15049.diff
Sun, Sep 14, 2:19 AM
F18459406: D15049.id36344.diff
Mon, Sep 1, 4:58 PM
F18447915: D15049.diff
Aug 31 2025, 11:05 PM
F18393467: D15049.diff
Aug 29 2025, 9:12 AM
F18370307: D15049.id.diff
Aug 28 2025, 3:31 AM
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.