-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
What would it take to return, for example, the /binary/ value matched by the %x or %d codes. E.g. if you had a pattern like (%x+),(%x+) and you fed it "0F,09" you could get back matches of "0F" and another of "09" just like now, but also get back an array of binary values, containing 15 and 9. In other words, as long as you are matching numbers, convert them to binary values at the same time.
This comes from my thinking and question here:
https://arduino.stackexchange.com/questions/50170/extract-binary-data-from-text-string-like-perl-pack-not-just-regexp
Probably not worth doing? But I figured I would ask just incase other people see value in that idea.
Metadata
Metadata
Assignees
Labels
No labels