system: add sregex
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
1a9b63279d
commit
9f21015209
@ -21,6 +21,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include "compat.hpp"
|
#include "compat.hpp"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <regex>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
@ -91,6 +92,11 @@ namespace stdex
|
|||||||
///
|
///
|
||||||
using sys_string = sstring;
|
using sys_string = sstring;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// Regular expressions for system strings
|
||||||
|
///
|
||||||
|
using sregex = std::basic_regex<stdex::schar_t>;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Operating system object (file, pipe, anything with an OS handle etc.)
|
/// Operating system object (file, pipe, anything with an OS handle etc.)
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user