@@ -43,7 +43,7 @@ private class RegexSanitizationCall extends RegexInjectionSanitizer {
43
43
}
44
44
45
45
/**
46
- * A call to the `Pattern.quote` method, which gives metacharacters or escape sequences
46
+ * A call to the `Pattern.quote` method, which gives meta-characters or escape sequences
47
47
* no special meaning.
48
48
*/
49
49
private class PatternQuoteCall extends RegexInjectionSanitizer {
@@ -56,7 +56,7 @@ private class PatternQuoteCall extends RegexInjectionSanitizer {
56
56
}
57
57
58
58
/**
59
- * Use of the `Pattern.LITERAL` flag with `Pattern.compile`, which gives metacharacters
59
+ * Use of the `Pattern.LITERAL` flag with `Pattern.compile`, which gives meta-characters
60
60
* or escape sequences no special meaning.
61
61
*/
62
62
private class PatternLiteralFlag extends RegexInjectionSanitizer {
@@ -72,7 +72,7 @@ private class PatternLiteralFlag extends RegexInjectionSanitizer {
72
72
}
73
73
74
74
/**
75
- * The methods of the class `java.lang.String` that take a regular expression
75
+ * A method of the class `java.lang.String` that takes a regular expression
76
76
* as a parameter.
77
77
*/
78
78
private class StringRegexMethod extends Method {
@@ -83,7 +83,7 @@ private class StringRegexMethod extends Method {
83
83
}
84
84
85
85
/**
86
- * The methods of the class `java.util.regex.Pattern` that take a regular
86
+ * A method of the class `java.util.regex.Pattern` that takes a regular
87
87
* expression as a parameter.
88
88
*/
89
89
private class PatternRegexMethod extends Method {
@@ -94,7 +94,7 @@ private class PatternRegexMethod extends Method {
94
94
}
95
95
96
96
/**
97
- * The methods of the class `org.apache.commons.lang3.RegExUtils` that take
97
+ * A methods of the class `org.apache.commons.lang3.RegExUtils` that takes
98
98
* a regular expression of type `String` as a parameter.
99
99
*/
100
100
private class ApacheRegExUtilsMethod extends Method {
0 commit comments