On Thu, 27 Jul 2000, Ime Smits wrote:
> | No. The problem is that it would be really great if this could be a
> | generic VBScript parser, rather than an ASP/VB parser.
>
> s/(.*?)<%(.*?)%>/&parse_html($1).&parse_vb($2)/seg, so don't worry - you'll
> get your generic method ;)
Won't work. You need to know the types of variables outside of the current
"scope" in ASP terms, but inside the scope in VB terms. Might work if its
a method call, but still, its not very elegant.
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org