Perl pattern matching circumflex and dollar?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

DFH
Posts: 658
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Perl pattern matching circumflex and dollar?

Postby DFH » Thu Jul 12, 2012 8:49 pm

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: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Perl pattern matching circumflex and dollar?

Postby DataMystic Support » Mon Jul 16, 2012 6:07 am

This will be fixed in 9.2.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

DFH
Posts: 658
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Perl pattern matching circumflex and dollar?

Postby DFH » Thu Jul 19, 2012 5:06 pm

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: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Perl pattern matching circumflex and dollar?

Postby DataMystic Support » Sun Jul 22, 2012 11:41 am

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

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

DFH
Posts: 658
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Re: Perl pattern matching circumflex and dollar?

Postby DFH » Mon Jul 23, 2012 7:51 pm

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: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Perl pattern matching circumflex and dollar?

Postby DataMystic Support » Tue Jul 31, 2012 12:18 pm

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

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 9 guests