aboutsummaryrefslogtreecommitdiff
path: root/include/modules/regex.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-04-04 23:42:15 +0100
committerGravatar Sadie Powell2021-04-04 23:42:15 +0100
commit7d84e4900fa8f4ef96e8cf4bb67b76be7902e840 (patch)
treef5a81d03f572392e7547d58f979fdd488de6ff0b /include/modules/regex.h
parentRemove the unused ExitCodes array. (diff)
Fix a ton of pedantic compiler warnings.
Diffstat (limited to 'include/modules/regex.h')
-rw-r--r--include/modules/regex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules/regex.h b/include/modules/regex.h
index 6c9f659da..1ae7acd73 100644
--- a/include/modules/regex.h
+++ b/include/modules/regex.h
@@ -72,7 +72,7 @@ class Regex::Engine
virtual PatternPtr Create(const std::string& pattern, uint8_t options = Regex::OPT_NONE) = 0;
/** Compiles a regular expression from the human-writable form.
- * @param The pattern to compile in the format /pattern/flags.
+ * @param pattern The pattern to compile in the format /pattern/flags.
* @return A shared pointer to an instance of the Regex::Pattern class.
*/
PatternPtr CreateHuman(const std::string& pattern);
@@ -157,8 +157,8 @@ class Regex::Pattern
protected:
/** Initializes a new instance of the Pattern class.
- * @param Pattern The pattern as a string.
- * @param Options The options used when matching this pattern.
+ * @param pattern The pattern as a string.
+ * @param options The options used when matching this pattern.
*/
Pattern(const std::string& pattern, uint8_t options)
: optionflags(options)