Page MenuHomePhabricator (Chris)

regex.h
No OneTemporary

Authored By
Unknown
Size
488 B
Referenced Files
None
Subscribers
None
#ifndef _rtech1_regex_h
#define _rtech1_regex_h
#include <string>
namespace Util{
/* Use a new type so raw strings are not confused for regexes */
class Regex{
public:
explicit Regex(const std::string & input);
const std::string & get() const;
public:
std::string data;
};
bool matchRegex(const std::string & str, const Regex & regex);
std::string captureRegex(const std::string & str, const Regex & regex, int capture);
}
#endif

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 12:15 AM (14 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
129808
Default Alt Text
regex.h (488 B)

Event Timeline