WeiDUorg / weidu

WeiDU is a program used to develop, distribute and install modifications for games based on the Infinity Engine.
http://www.weidu.org
GNU General Public License v2.0
87 stars 19 forks source link

[Regexp] end-of-line character $ #216

Closed 4Luke4 closed 9 months ago

4Luke4 commented 2 years ago

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.

FredrikLindgren commented 9 months ago

Done in 31857ab56ec2d51ee65b9f9765f9f48578648f77.