Page 1 of 1
Perl pattern matching circumflex and dollar?
Posted: Thu Jul 12, 2012 8:49 pm
by dfhtextpipe
Is there a reason why Perl pattern matching circumflex and dollar
(to assert start of line and end of line respectively)
does NOT match when the EOLs are Unix (LF) style rather than DOS/PC (CR LF)?
Re: Perl pattern matching circumflex and dollar?
Posted: Mon Jul 16, 2012 6:07 am
by DataMystic Support
This will be fixed in 9.2.
Re: Perl pattern matching circumflex and dollar?
Posted: Thu Jul 19, 2012 5:06 pm
by dfhtextpipe
If the same bug affects input files with Mac style EOLs (CR), I'll assume you'll attend to that too?
David
Re: Perl pattern matching circumflex and dollar?
Posted: Sun Jul 22, 2012 11:41 am
by DataMystic Support
I don't believe it affects Mac EOLs.
Re: Perl pattern matching circumflex and dollar?
Posted: Mon Jul 23, 2012 7:51 pm
by dfhtextpipe
As it affects input files with Unix style EOLs, this must have been a very old software bug!
I'm quite amazed that no-one had reported this hitherto!
David
Re: Perl pattern matching circumflex and dollar?
Posted: Tue Jul 31, 2012 12:18 pm
by DataMystic Support
It seems to have been reintroduced a year or so ago, with an update to the PCRE engine.