summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-06-26 17:36:50 -0300
committerGitHub <noreply@github.com>2017-06-26 17:36:50 -0300
commit682a6de8e17c38d7f8af587a8d62f068a9e209c9 (patch)
treeef675ac0fcbcc40344d975bb86ce71a6b0649abe /modules
parent5590dd7fb4e573f355b5484be16d8bf0c08b061c (diff)
parent340c0ba0a0697773ec31b9997209a0301c243269 (diff)
Merge pull request #9400 from godotengine/revert-9379-regex_bind_fix
Revert "Fixed RegEx::search missing return type hint"
Diffstat (limited to 'modules')
-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);