diff options
| author | Rémi Verschelde | 2017-06-26 22:38:11 +0200 |
|---|---|---|
| committer | GitHub | 2017-06-26 22:38:11 +0200 |
| commit | a50fb2f729f7d554c7394256e5944d7bf59bdd87 (patch) | |
| tree | f00a85cf1e06a57d89b1d883cc68c9bcedb604c9 /modules/regex/regex.cpp | |
| parent | 682a6de8e17c38d7f8af587a8d62f068a9e209c9 (diff) | |
| download | godot-a50fb2f729f7d554c7394256e5944d7bf59bdd87.tar.gz godot-a50fb2f729f7d554c7394256e5944d7bf59bdd87.tar.zst godot-a50fb2f729f7d554c7394256e5944d7bf59bdd87.zip | |
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 c728657d6..c3e97e357 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", "text", "start", "end"), &RegEx::search, DEFVAL(0), DEFVAL(-1)); + ClassDB::bind_method(D_METHOD("search:RegExMatch", "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); |
