Email EP not working

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Patchworks
Posts: 3
Joined: Sat Dec 18, 2004 5:00 pm

Email EP not working

Postby Patchworks » Sat Dec 18, 2004 5:04 pm

I'm trying an email pattern that I found here on the formus but it is getting an error, "a is not a valid keyword".

This is what I'm using. Any help would be greatly appreciated.

(?:\b([_a-z0-9-]+(?:\.[_a-z0-9-]+)*)@([_a-z0-9-]+(?:\.[_a-z0-9-]+)*?)\.(?:[a-z]{2,4}?)\b)

g

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

Postby DataMystic Support » Mon Dec 20, 2004 4:22 pm

Set the pattern type to perl pattern.
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

Patchworks
Posts: 3
Joined: Sat Dec 18, 2004 5:00 pm

Email EP not working

Postby Patchworks » Tue Dec 21, 2004 2:51 am

Not sure what is happening now but I changed from EasyPattern to Perl Pattern and it seems to compile correctly, but when I replace with the 0$ (which I assume it needs to be), it outputs a bunch of other stuff with it. Almost the entire Input file.

Am I outputting the wrong matched sub-expression?

g

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

Postby DataMystic Support » Tue Dec 21, 2004 9:55 pm

$0 is the entire matched expression.

Set the perl pattern options to minimal match (use the [...] button).
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

Patchworks
Posts: 3
Joined: Sat Dec 18, 2004 5:00 pm

Email EP not working

Postby Patchworks » Wed Dec 22, 2004 12:05 am

Set the Minimal option and still same results.

g

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

Postby DataMystic Support » Wed Dec 22, 2004 6:56 am

Can you please send me your filter plus a test file or text in the trial run area?
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

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

Postby DataMystic Support » Thu Dec 23, 2004 6:49 am

Turn on the 'Extract' option of the search/replace filter.
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 10 guests