summaryrefslogtreecommitdiff
path: root/modules/regex
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-09 13:19:41 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-10 07:17:50 +0200
commit2f290038d63b55e6ce40296602f36bc98ab26015 (patch)
tree170fd3a3096625b57ea2dc32fdee096565b161b0 /modules/regex
parent1e74f27f8fe962f51e6b1786f861c89863492745 (diff)
Removes type information from method binds
Diffstat (limited to 'modules/regex')
-rw-r--r--modules/regex/regex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/regex/regex.cpp b/modules/regex/regex.cpp
index c3e97e357d..c728657d6b 100644
--- a/modules/regex/regex.cpp
+++ b/modules/regex/regex.cpp
@@ -1496,7 +1496,7 @@ void RegEx::_bind_methods() {
ClassDB::bind_method(D_METHOD("clear"), &RegEx::clear);
ClassDB::bind_method(D_METHOD("compile", "pattern"), &RegEx::compile);
- ClassDB::bind_method(D_METHOD("search:RegExMatch", "text", "start", "end"), &RegEx::search, DEFVAL(0), DEFVAL(-1));
+ ClassDB::bind_method(D_METHOD("search", "text", "start", "end"), &RegEx::search, DEFVAL(0), DEFVAL(-1));
ClassDB::bind_method(D_METHOD("sub", "text", "replacement", "all", "start", "end"), &RegEx::sub, DEFVAL(false), DEFVAL(0), DEFVAL(-1));
ClassDB::bind_method(D_METHOD("is_valid"), &RegEx::is_valid);
ClassDB::bind_method(D_METHOD("get_pattern"), &RegEx::get_pattern);