Email EP not working

Get help with installation and running here.

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

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

Email EP not working

Post by Patchworks »

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

Post by DataMystic Support »

Set the pattern type to perl pattern.
Patchworks
Posts: 3
Joined: Sat Dec 18, 2004 5:00 pm

Email EP not working

Post by Patchworks »

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

Post by DataMystic Support »

$0 is the entire matched expression.

Set the perl pattern options to minimal match (use the [...] button).
Patchworks
Posts: 3
Joined: Sat Dec 18, 2004 5:00 pm

Email EP not working

Post by Patchworks »

Set the Minimal option and still same results.

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

Post by DataMystic Support »

Can you please send me your filter plus a test file or text in the trial run area?
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support »

Turn on the 'Extract' option of the search/replace filter.
Post Reply