Hi, JM, http://tidy.sourceforge.net/
has been around for quite some time. Unless you have an absolute need to embed the cleanup code in a larger function, this would save some wheel-reinventing... -jn- > JM wrote: > > Does anybody have some simple code to validate HTML pages, mainly proper > tag nesting? > -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e ":" "." "#" "@"] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"} print head reverse despam "moc:xedef#yleen:leoj" ; -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.