> Please post an example so I can understand what is meant by "won't
> process" and "standard text file".
Standard text files use \n and not \r\n. This is why standard regex uses
\n as newline.
Using something else will break the processing of files that use \n
because the newlines won't be recognized as such anymore and it may also
break existing expressions/scripts that work around the use of \r\n in
non-standard files.
IMO one shouldn't change defaults like that but that's just me... what's
not a matter of opinion however is that arbitrarily removing the ability
to use the old default settings would be a Bad Thing.
I hope this is clearer but here's an example just in case:
regex.rg("foo\nbar",".+","x")
standard regex yields xx
bastardized regex yields x