svdtools icon indicating copy to clipboard operation
svdtools copied to clipboard

Support REGEX

Open AsafFisher opened this issue 4 years ago • 3 comments

Hello! The current state of the tool is very limited. Can you add regex to it?

AsafFisher avatar Feb 04 '21 19:02 AsafFisher

Is it fine?

AsafFisher avatar Feb 04 '21 19:02 AsafFisher

What regex functionality are you expecting to see?

burrbull avatar Aug 28 '21 06:08 burrbull

Matching peripheral and register names would be helpful. The existing [ABC] matching doesn't work as expected. For instance, given registers ADDRA, ADDRB, and ADDR0-7 are specified as an array, I would like to remove register ADDR7. Using _delete: "ADDR[01234567]" does not match the numeric registers and in fact, takes no action on in the patch.

n8tlarsen avatar Oct 03 '22 15:10 n8tlarsen