summaryrefslogtreecommitdiff
path: root/modules/regex/SCsub
diff options
context:
space:
mode:
authorZher Huei Lee <lee.zh.92@gmail.com>2016-10-23 01:22:48 +0100
committerZher Huei Lee <lee.zh.92@gmail.com>2016-10-27 10:27:40 +0100
commit439d43932133d32dcabd482f11842072d52b41e1 (patch)
treea3df1a0366b25a845d337836b3e163a6ffc72fec /modules/regex/SCsub
parent470ead74dbc3d6ea7133ab90c0d09ed637e7a5f5 (diff)
RegEx re-implemented as a module
Re-wrote nrex as a module using godot-specific parts and new features: * Added string substitutions. * Named groups are now supported. * Removed use of mutable variables in RegEx. RegExMatch is returned instead.
Diffstat (limited to 'modules/regex/SCsub')
-rw-r--r--modules/regex/SCsub7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/regex/SCsub b/modules/regex/SCsub
new file mode 100644
index 0000000000..0882406761
--- /dev/null
+++ b/modules/regex/SCsub
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+
+Import('env')
+
+env.add_source_files(env.modules_sources, "*.cpp")
+
+Export('env')