We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc0d5ba commit d3fc85fCopy full SHA for d3fc85f
regex.cpp
@@ -19,8 +19,9 @@
19
* Github: https://github.com/mikecovlee
20
*/
21
#include <regex>
22
-#include <covscript/extension.hpp>
23
#include <covscript/cni.hpp>
+#include <covscript/extension.hpp>
24
+#include <covscript/extensions/char.hpp>
25
#include <covscript/extensions/string.hpp>
26
27
static cs::extension regex_ext;
@@ -121,6 +122,7 @@ namespace regex_cs_ext {
121
122
123
void init()
124
{
125
+ char_cs_ext::init();
126
string_cs_ext::init();
127
regex_ext.add_var("result", var::make_protect<extension_t>(regex_result_ext_shared));
128
regex_ext.add_var("build", var::make_protect<callable>(cni(build)));
0 commit comments