in reply to Re: using Email::Find and URI::Find
in thread Look-behind regex to

I wonder if one would have to copy some Email::Find code and modify it with a negative zero-width look-behind for (ht|f)tp:// ?

It's even easier then that.

The docs for Email::Find have a section entitled "SUBCLASSING" that explains how you can make your own version with a different regex, or validation function. You can create a basic subclass that just defienes a new regex (with spaces before and after, and or enclosed in "<...>" -- whatever you want. "

  • Comment on Re: Re: using Email::Find and URI::Find