Perl pattern matching circumflex and dollar?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
DFH
Posts: 976
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Perl pattern matching circumflex and dollar?

Post by DFH »

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)?
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Perl pattern matching circumflex and dollar?

Post by DataMystic Support »

This will be fixed in 9.2.
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
DFH
Posts: 976
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Perl pattern matching circumflex and dollar?

Post by DFH »

If the same bug affects input files with Mac style EOLs (CR), I'll assume you'll attend to that too?

David
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Perl pattern matching circumflex and dollar?

Post by DataMystic Support »

I don't believe it affects Mac EOLs.
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
DFH
Posts: 976
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Perl pattern matching circumflex and dollar?

Post by DFH »

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
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Perl pattern matching circumflex and dollar?

Post by DataMystic Support »

It seems to have been reintroduced a year or so ago, with an update to the PCRE engine.
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
Post Reply