Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F626051
regex.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
488 B
Referenced Files
None
Subscribers
None
regex.h
View Options
#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
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 12:15 AM (15 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
129808
Default Alt Text
regex.h (488 B)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline