Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: John Robinson
Test with other well known links:

http://www.drudgereport.com/

http://www.foxnews.com/

http://www.washtimes.com/

http://groups.yahoo.com/group/freerepublic2/

Looks good in the preview....
322 posted on 11/25/2003 3:37:36 PM PST by JoJo Gunn (Help control the Leftist population - have them spayed or neutered. ©)
[ Post Reply | Private Reply | To 307 | View Replies ]


To: JoJo Gunn
It was the ampersand. To get technical, I forgot # is a comment character within a regex when under the influence of Perl's /x modifier.
m{ <\w+[^>]+> | &\#\d+; | &\w+; }x
(Yes, that actually means something. It returns true if the target string contains anything resembling HTML.)
324 posted on 11/25/2003 3:41:15 PM PST by John Robinson (Copyright © Trademark ™)
[ Post Reply | Private Reply | To 322 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson