From: Michael C. <me...@me...> - 2002-12-11 02:25:52
|
On Tuesday 10 December 2002 12:55 pm, Slava Pestov wrote: > On Thu, 2002-12-05 at 14:15, Michael Collette wrote: > > There are new regular expression capabilities, but from what the > > changelog was stating, that's still experimental. I don't believe any of > > the modes are yet taking advantage of this. > > They're not "experimental", and the Perl mode is using them... I just > checked the HTML mode in 4.1, and it uses a different trick to implement > good <SCRIPT> tag behavior; it delegates <SCRIPT to a private ruleset > which contains a rule that delegates > to javascript::MAIN. So anything > between <SCRIPT and > is ignored. > > Slava Very cool. I'll give a look at the latest HTML mode to see what all is involved with updating that PHP mode I was working on. I assumed that both modes would have gotten the same tweak, so I only looked at the PHP one. So far, thankfully, the cheesey trick of leaving off the closing bracket of the script tag has actually worked okay for my stuff. It would be nice to have it done "correctly" though. Later on, -- "Outside of a dog, a book is man's best friend. Inside of a dog, it's too dark to read." - Groucho Marx |