On Aug 30, 2006, at 11:10 PM, Walter Purvis wrote:
-----Original Message-----
However, there can be exactly one "://"
sequence for a valid URL,
This is not true.
Just use the regular expression I posted. It would be incredibly
complicated
and error prone to try to test for every permutation of a valid URL
using RB
string functions.
Actually, it wouldn't be much harder than writing that regular
expression. It's that regular expressions are a language designed
for this purpose.
Charles Yeomans
_______________________________________________
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>