acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
regular_expression.h
1//
2// Recreated by camilo on 2021-05-05 22:52 <3ThomasBS_!!
3//
4#pragma once
5
6
7
8//#include "acme/prototype/prototype/pointer.h"
9
10
11namespace regular_expression
12{
13
14
15 class result;
16
17
18 class CLASS_DECL_ACME regular_expression :
19 virtual public particle
20 {
21 public:
22
23
24 void * m_pRegularExpression;
25
26 ::pointer<::regular_expression::context> m_papplication;
27
28 string m_str;
29
30 ::i32 m_iRangeCount;
31
32
33 regular_expression();
34 ~regular_expression() override;
35
36
37 virtual void compile(const ::scoped_string & scopedstr);
38
39 virtual ::pointer<result>run(const ::scoped_string & scopedstr);
40
41 virtual bool replace(string & strFind, const ::scoped_string & scopedstrReplace, string & strResult);
42
43
44 };
45
46
47} // namespace regular_expression
48
49
50
Definition result.h:18