aboutsummaryrefslogtreecommitdiff
path: root/modules/regex/regex.h
diff options
context:
space:
mode:
authorZher Huei Lee2016-10-24 22:13:26 +0100
committerZher Huei Lee2016-10-27 10:27:40 +0100
commitc3b4686082bc92c70886ee848064009c8f628193 (patch)
treef467034c98a7a8c91de7d09e41274555ce60fd4e /modules/regex/regex.h
parent439d43932133d32dcabd482f11842072d52b41e1 (diff)
downloadgodot-c3b4686082bc92c70886ee848064009c8f628193.tar.gz
godot-c3b4686082bc92c70886ee848064009c8f628193.tar.zst
godot-c3b4686082bc92c70886ee848064009c8f628193.zip
Diffstat (limited to 'modules/regex/regex.h')
-rw-r--r--modules/regex/regex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/regex/regex.h b/modules/regex/regex.h
index 283368c34..8d31b8477 100644
--- a/modules/regex/regex.h
+++ b/modules/regex/regex.h
@@ -97,7 +97,7 @@ public:
Error compile(const String& p_pattern);
Ref<RegExMatch> search(const String& p_text, int p_start = 0, int p_end = -1) const;
- String sub(const String& p_text, const String& p_template, int p_start = 0, int p_end = -1) const;
+ String sub(const String& p_text, const String& p_replacement, bool p_all = false, int p_start = 0, int p_end = -1) const;
bool is_valid() const;
String get_pattern() const;