initial commit

This commit is contained in:
lsdlsd88
2024-04-25 17:22:13 +02:00
parent 683b846d60
commit b5204b2a68
2737 changed files with 1534650 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#include <Regexp.h>
void setup ()
{
Serial.begin (115200);
// match state object
MatchState ms;
// what we are searching (the target)
char buf [100] = "The quick brown fox jumps over the lazy wolf";
ms.Target (buf); // set its address
unsigned int count = ms.MatchCount ("[aeiou]");
Serial.println (buf);
Serial.print ("Found ");
Serial.print (count); // 11 in this case
Serial.println (" matches.");
} // end of setup
void loop () {}