Fix bug in filename template parser
ClosedPublic

Authored by davidre on Mar 17 2019, 7:28 AM.

Details

Summary

Quick fix for a bug in the parser. Before if the template included multiple %Nd expressions only the first would be parsed and all occurences of it replaced.

Test Plan

Before:


After:

Diff Detail

Repository
R166 Spectacle
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidre created this revision.Mar 17 2019, 7:28 AM
Restricted Application added a project: Spectacle. · View Herald TranscriptMar 17 2019, 7:28 AM
davidre requested review of this revision.Mar 17 2019, 7:28 AM
davidre edited the summary of this revision. (Show Details)Mar 17 2019, 7:31 AM
davidre edited the test plan for this revision. (Show Details)
ngraham accepted this revision.Mar 17 2019, 9:03 AM
This revision is now accepted and ready to land.Mar 17 2019, 9:03 AM
This revision was automatically updated to reflect the committed changes.