diff options
Diffstat (limited to 'modules/regex/regex.h')
| -rw-r--r-- | modules/regex/regex.h | 2 |
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; |
