regex docs match_flag_type.html

24 Apr
2005
24 Apr
'05
12:10 p.m.
Just a minor thing I noticed in the regex++ docs: In match_flag_type.html it says that match_single_line is "Equivalent to Perl's s/ modifier". That is wrong, match_single_line is actually the inverse of Perl's /m modifier. Perl's /s causes "." to also match newlines, making it the inverse of match_not_dot_newline. - Karsten

27 Apr
27 Apr
2:57 p.m.
In match_flag_type.html it says that match_single_line is "Equivalent to Perl's s/ modifier". That is wrong, match_single_line is actually the inverse of Perl's /m modifier. Perl's /s causes "." to also match newlines, making it the inverse of match_not_dot_newline.
Thanks for the correction: you are quite right, I'll update the docs accordingly. John.
7350
Age (days ago)
7353
Last active (days ago)
1 comments
2 participants
participants (2)
-
John Maddock
-
Karsten Sperling