- 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

@ -29,7 +29,7 @@
#include <sstream>
#include <algorithm>
#include <stdlib.h>
#include <RegX.h>
#include <RX.h>
#include <Context.h>
#include <util.h>
#include <cmake.h>
@ -223,7 +223,7 @@ int CmdDiagnostics::execute (std::string& output)
char* p = fgets (buffer, 1023, fp);
pclose (fp);
RegX r ("usage", false);
RX r ("usage", false);
if (p)
out << " scp: "
<< (r.match (buffer) ? "found" : "n/a")
@ -238,7 +238,7 @@ int CmdDiagnostics::execute (std::string& output)
// rsync version 2.6.9 protocol version 29
if (p)
{
RegX r ("version ([0-9]+\\.[0-9]+\\.[0-9]+)", false);
RX r ("version ([0-9]+\\.[0-9]+\\.[0-9]+)", false);
matches.clear ();
r.match (matches, buffer);
out << " rsync: "
@ -255,7 +255,7 @@ int CmdDiagnostics::execute (std::string& output)
// curl 7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
if (p)
{
RegX r ("curl ([0-9]+\\.[0-9]+\\.[0-9]+)", false);
RX r ("curl ([0-9]+\\.[0-9]+\\.[0-9]+)", false);
matches.clear ();
r.match (matches, buffer);
out << " curl: "