diff options
| author | Zher Huei Lee | 2016-10-24 22:13:26 +0100 |
|---|---|---|
| committer | Zher Huei Lee | 2016-10-27 10:27:40 +0100 |
| commit | c3b4686082bc92c70886ee848064009c8f628193 (patch) | |
| tree | f467034c98a7a8c91de7d09e41274555ce60fd4e /modules/regex/regex.h | |
| parent | 439d43932133d32dcabd482f11842072d52b41e1 (diff) | |
| download | godot-c3b4686082bc92c70886ee848064009c8f628193.tar.gz godot-c3b4686082bc92c70886ee848064009c8f628193.tar.zst godot-c3b4686082bc92c70886ee848064009c8f628193.zip | |
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; |
