From 2eba585d38d29b9ee31f8132fca912d0f26d8154 Mon Sep 17 00:00:00 2001 From: Zher Huei Lee Date: Sat, 11 Nov 2017 08:07:50 +0800 Subject: Added RegEx.search_all() for multiple matches And updated the docs --- modules/regex/regex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/regex/regex.h') diff --git a/modules/regex/regex.h b/modules/regex/regex.h index bfa9c8404..21387222f 100644 --- a/modules/regex/regex.h +++ b/modules/regex/regex.h @@ -88,6 +88,7 @@ public: void _init(const String &p_pattern = ""); Ref search(const String &p_subject, int p_offset = 0, int p_end = -1) const; + Array search_all(const String &p_subject, int p_offset = 0, int p_end = -1) const; String sub(const String &p_subject, const String &p_replacement, bool p_all = false, int p_offset = 0, int p_end = -1) const; bool is_valid() const; -- cgit v1.2.3-70-g09d2