Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
as far as I know (which isn't very far :-) PHP uses <? .. ?> as delimiters, so you could just change "%" to "?" in the eqs above (and of course, change "ASP" to "PHP" if you prefer) and it should work.
JSP seems to be using its own tag library (things like <jsp:getProperty .. /> and so on) as well as blocks like <% .. %>. perhaps you could use this tool and a full-blown HTML (or XHTML) parser to recognize JSP tags in HTML blocks, but I really don't know.
cheers, Aldo King of Laziness, Wizard of Impatience, Lord of Hubris In reply to Re: Re: parsing an ASP file
by dada
|
|