diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-14 12:29:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-14 12:29:22 +0100 |
commit | f83b73be132d0e75272fd47899bc2d24d1285a39 (patch) | |
tree | 5e07bf597e2a782e427bb33e3959c7c1f0d07aee /modules/regex/regex.h | |
parent | bd775aa0bd25eaa331952c8cdaf0cabb66cbc213 (diff) | |
parent | 2eba585d38d29b9ee31f8132fca912d0f26d8154 (diff) | |
download | redot-engine-f83b73be132d0e75272fd47899bc2d24d1285a39.tar.gz |
Merge pull request #12915 from leezh/regex_search_all
Added RegEx.search_all() for multiple matches
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; |