Subject: | Windows newline not interpreted correctly. |
When running a web application under IIS on Windows newlines in form
fields are encoded as \r\n. Because of this the parser does not seem to
recognize newlines properly.
The following change on line 41 seems to do the trick, but should also
be tested on other platforms.
my $eol = '(?:\r\n|\n|$)'; # end of line (or string)