On Aug 31, 2006, at 12:37 PM, Dennis Birch wrote:
What do you mean by "anchored to the beginning and end"?
The ^ in a regex says that the pattern has to start at the beginning
of the line and $ at the end of the regex says it has to end at the
end of the line.
(I may have this backwards)
If you change the regex to have those two characters (at the
beginning and end) and then have it check the URL it should avoid
finding a valid URL anywhere in any text
The other way be to simply see that the pattern found is the same
length as the original string
if it's not what you have found is a substring inside some other text
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>