diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-08-11 10:29:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-11 10:29:41 +0200 |
commit | 8e6768c963b0ed825e4a4dbf3aeee5907168d697 (patch) | |
tree | da7f2efe5fceb097bc1ebb7ce6789e9bf3a3a1d8 /modules/regex/regex.cpp | |
parent | 81dde2687f2f80f5f365a02d68913322d35e9be1 (diff) | |
parent | 78619a5866f44b057bc539e46a936f7580360800 (diff) | |
download | redot-engine-8e6768c963b0ed825e4a4dbf3aeee5907168d697.tar.gz |
Merge pull request #10202 from neikeq/how-do-you-turn-this-on
Improves method bind's detecting of signarute types
Diffstat (limited to 'modules/regex/regex.cpp')
-rw-r--r-- | modules/regex/regex.cpp | 2 |
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); |