The symbol $ matches only Unix-style line breaks. To include support for the (more common) Windows-style line breaks, you have to add %MNL% as an optional match (e.g. Minsc%MNL%?$).
Documentation should state this peculiarity when talking about regexp and $ (Chapter 14).
The symbol
$
matches only Unix-style line breaks. To include support for the (more common) Windows-style line breaks, you have to add%MNL%
as an optional match (e.g.Minsc%MNL%?$
).Documentation should state this peculiarity when talking about regexp and
$
(Chapter 14).Originally reported here.