In my opinion, it is the most reasonable solution. I have looked all over the web for something else, but this works perfectly for me. It's impossible to tell where an url starts and ends if you don't have it in quotes or single quotes. If someone really needs to find all the urls in a page, then they'll code their pages to make use of this limitation.
-----Original Message----- From: Chrome [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 16, 2006 8:24 PM To: 'Robert Samuel White'; email@example.com Subject: RE: [PHP] Regex Help for URL's [ANSWER] > -----Original Message----- > From: Robert Samuel White [mailto:[EMAIL PROTECTED] > Sent: 17 May 2006 01:16 > To: firstname.lastname@example.org > Subject: RE: [PHP] Regex Help for URL's [ANSWER] > > All pages used by my content management system must be in a valid format. > > Old-school style pages are never created so the solution I have come up > with > is perfect for my needs. > > Thank you. Doesn't that make it a proprietary solution? IMHO offering the regex may create a false situation for people... So the answer may not be for everyone Might be wrong :) Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php