Chad Perrin wrote:
Y'know, I was playing around with this to see if I could come up with a
reasonably elegant solution, and I noticed a problem:
Your code doesn't seem to actually work. Am I missing something?
I went back to check, and it seems to only be working in very specific
cases. For
On Fri, Apr 21, 2006 at 02:54:29PM -0700, Adam W wrote:
>
> The following does about 95% of the job:
>
> if (/<(.*?)>/g && !/<\!/g) { # if it's an HTML and not a
> #s/^(.*?)"(.*?)"/\L$1\E"$2"/g;
> }
Y'know, I was playing around with thi
Hello List,
I'm writing a little script that will turn some webpages I have from
HTML to XHTML. This requires several substitutions. So far, I have
been able to write regexps that properly close link, meta, br, and hr
tags and either put in or replace an existing tag.
Finally, I want it t