- Renamed RegX to RX.  Got sick of the RegX name - looked too much like GenX.
This commit is contained in:
Paul Beckingham 2011-06-21 18:15:58 -04:00
parent 03dbf7f468
commit a7d6b91ad3
9 changed files with 52 additions and 52 deletions

View file

@ -34,7 +34,7 @@
#include <inttypes.h>
#include <Nibbler.h>
#include <Date.h>
#include <RegX.h>
#include <RX.h>
const char* c_digits = "0123456789";
@ -147,7 +147,7 @@ bool Nibbler::getUntilRx (const std::string& regex, std::string& result)
else
modified_regex = regex;
RegX r (modified_regex, true);
RX r (modified_regex, true);
std::vector <int> start;
std::vector <int> end;
if (r.match (start, end, mInput.substr (mCursor)))
@ -452,7 +452,7 @@ bool Nibbler::getRx (const std::string& regex, std::string& result)
else
modified_regex = regex;
RegX r (modified_regex, true);
RX r (modified_regex, true);
std::vector <std::string> results;
if (r.match (results, mInput.substr (mCursor)))
{
@ -1012,7 +1012,7 @@ bool Nibbler::skipRx (const std::string& regex)
else
modified_regex = regex;
RegX r (modified_regex, true);
RX r (modified_regex, true);
std::vector <std::string> results;
if (r.match (results, mInput.substr (mCursor)))
{