You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Matt Raible <ma...@raibledesigns.com> on 2003/02/21 00:57:15 UTC

Regular expression matching

Is there a way that I can parse my .jsp files with a regexp matching and
convert all of:

<c:out value="${...}" /> 

to simply:

${...}

I want to be able to produce a JSP 2.0 version of my app from a JSP 1.2
codebase that uses JSTL.

Thanks,

Matt



Re: Regular expression matching

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 20 Feb 2003, Matt Raible <ma...@raibledesigns.com> wrote:

> Is there a way that I can parse my .jsp files with a regexp matching
> and convert all of:
> 
> <c:out value="${...}" /> 
> 
> to simply:
> 
> ${...}

If you are able to write a regexp for this, <replaceregexp> is your
friend.

Stefan