diff options
author | Zher Huei Lee <lee.zh.92@gmail.com> | 2017-11-11 08:07:50 +0800 |
---|---|---|
committer | Zher Huei Lee <lee.zh.92@gmail.com> | 2017-11-14 13:04:25 +0800 |
commit | 2eba585d38d29b9ee31f8132fca912d0f26d8154 (patch) | |
tree | db4c4e0baa601914e055dfe1e052294c544625b5 /modules/regex/regex.h | |
parent | 4c000a05f6275ae7b539927d4a2608cb54e34308 (diff) |
Added RegEx.search_all() for multiple matches
And updated the docs
Diffstat (limited to 'modules/regex/regex.h')
-rw-r--r-- | modules/regex/regex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/regex/regex.h b/modules/regex/regex.h index bfa9c84042..21387222f2 100644 --- a/modules/regex/regex.h +++ b/modules/regex/regex.h @@ -88,6 +88,7 @@ public: void _init(const String &p_pattern = ""); Ref<RegExMatch> 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; |