diff options
author | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2017-09-14 13:49:11 -0400 |
---|---|---|
committer | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2017-09-14 13:49:15 -0400 |
commit | 072e379ffe7f0d8adc2ac0eb700abfd7c27d8278 (patch) | |
tree | 0271453fd6ff530f8222ca53e8a7e693a6366dbb /modules/regex | |
parent | 8c08f2380d30e300f4f80dd292e9ff83f7bb84fd (diff) |
Renamed function arguments to keep them consistent between declaration and implementation
Diffstat (limited to 'modules/regex')
-rw-r--r-- | modules/regex/regex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/regex/regex.h b/modules/regex/regex.h index 0d97bcce54..bfa9c84042 100644 --- a/modules/regex/regex.h +++ b/modules/regex/regex.h @@ -87,8 +87,8 @@ public: Error compile(const String &p_pattern); void _init(const String &p_pattern = ""); - Ref<RegExMatch> search(const String &p_subject, int offset = 0, int end = -1) const; - String sub(const String &p_subject, const String &p_replacement, bool p_all = false, int p_start = 0, int p_end = -1) const; + Ref<RegExMatch> search(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; String get_pattern() const; |