MabezDev / idf2svd

Apache License 2.0
14 stars 7 forks source link

Lazily match on index register offsets to avoid capturing comments #10

Closed jessebraham closed 4 years ago

jessebraham commented 4 years ago

See #6 . FRC_TIMER_LOAD and FRC_TIMER_COUNT were failing to parse due to the fact that both lines ended with comments ending with ). Lazily match on the final capture group to avoid this issue.