Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F629938
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
492 B
Referenced Files
None
Subscribers
None
regex.h
View Options
#ifndef _paintown_regex_h
#define _paintown_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, 8:13 AM (1 d, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
113782
Default Alt Text
regex.h (492 B)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline