aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre.c b/pcre.c
index 40f6c14..ccb5528 100644
--- a/pcre.c
+++ b/pcre.c
@@ -204,7 +204,7 @@ static int parse_comp_opt(const char flag, const char *func)
switch (flag) {
case 'A': /* anchored regexp */
return PCRE_ANCHORED;
- case 'D': /* $ matches at the and of string only */
+ case 'D': /* $ matches at the end of string only */
return PCRE_DOLLAR_ENDONLY;
case 'i': /* ignore case */
return PCRE_CASELESS;