pattern for even number of HEX digits using Nick Gammon's Regexp library

stowite; Reply #7

Here is what I'm running and it give NO MATCH.

char ts6[]="ATS ULTRALIGHT ;0xa0";
char tm6[]="([Aa][Tt][Ss])%s+(ULTRALIGHT) ;(0[xX])?([0-9a-fA-F][0-9a-fA-F])+";

ms.Target (ts6);  // what to search
char result = ms.Match (tm6, 0);

I'm not sure why -- it looks to me as though I'm following your suggestion.
(Running v 1.8.5 of the Arduino IDE)