diff options
Diffstat (limited to 'drivers/nrex/regex.h')
| -rw-r--r-- | drivers/nrex/regex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nrex/regex.h b/drivers/nrex/regex.h index 3ef9ca342..062602970 100644 --- a/drivers/nrex/regex.h +++ b/drivers/nrex/regex.h @@ -28,7 +28,7 @@ class RegEx : public Reference { protected: static void _bind_methods(); - StringArray _bind_get_capture_list() const; + StringArray _bind_get_captures() const; public: @@ -37,7 +37,7 @@ public: int get_capture_count() const; String get_capture(int capture) const; Error compile(const String& p_pattern); - bool match(const String& p_text, int p_start = 0, int p_end = -1) const; + int find(const String& p_text, int p_start = 0, int p_end = -1) const; RegEx(); RegEx(const String& p_pattern); |
