aboutsummaryrefslogtreecommitdiff
path: root/drivers/nrex/regex.h
diff options
context:
space:
mode:
authorZher Huei Lee2015-07-24 14:09:39 +0100
committerZher Huei Lee2015-07-24 14:09:39 +0100
commit87c1e16834a21ac1e42321811cb0efcda4b91b9a (patch)
treec071b6446032791612d4dcf6814871e4c644e810 /drivers/nrex/regex.h
parent4ca0399ff6a16c7e5e760d57a7675df61f1f8ef0 (diff)
downloadgodot-87c1e16834a21ac1e42321811cb0efcda4b91b9a.tar.gz
godot-87c1e16834a21ac1e42321811cb0efcda4b91b9a.tar.zst
godot-87c1e16834a21ac1e42321811cb0efcda4b91b9a.zip
Diffstat (limited to 'drivers/nrex/regex.h')
-rw-r--r--drivers/nrex/regex.h4
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);