summaryrefslogtreecommitdiff
path: root/modules/regex
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-09-17 12:53:48 +0200
committerGitHub <noreply@github.com>2017-09-17 12:53:48 +0200
commitc74bab66aaaef355ef8ac8d7e1a249509fad544e (patch)
treeacb761bb28562f1f40e0e5736a9c79e91b4b7fb1 /modules/regex
parenta1b4e4c607acb09c13bdf1b9609f2d45c4b01e15 (diff)
parent072e379ffe7f0d8adc2ac0eb700abfd7c27d8278 (diff)
Merge pull request #11274 from Rubonnek/keep-argument-names-consistent
Renamed function arguments to keep them consistent between declaration and implementation
Diffstat (limited to 'modules/regex')
-rw-r--r--modules/regex/regex.h4
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;