diff options
| author | Zher Huei Lee | 2015-07-24 14:09:39 +0100 |
|---|---|---|
| committer | Zher Huei Lee | 2015-07-24 14:09:39 +0100 |
| commit | 87c1e16834a21ac1e42321811cb0efcda4b91b9a (patch) | |
| tree | c071b6446032791612d4dcf6814871e4c644e810 /drivers/nrex/regex.h | |
| parent | 4ca0399ff6a16c7e5e760d57a7675df61f1f8ef0 (diff) | |
| download | godot-87c1e16834a21ac1e42321811cb0efcda4b91b9a.tar.gz godot-87c1e16834a21ac1e42321811cb0efcda4b91b9a.tar.zst godot-87c1e16834a21ac1e42321811cb0efcda4b91b9a.zip | |
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); |
