Have a look at s s ...
Jan
>-Ursprüngliche Nachricht-
>Von: Mark Lybarger [mailto:[EMAIL PROTECTED]
>Gesendet: Dienstag, 16. August 2005 13:07
>An: Ant Users List
>Betreff: Re: regexpreplace help...
>
>thanks for the thoughts. i'll give it a go. would love to
operty
> - use the result-property instead of \5 in
>
> Jan
>
> >-Ursprüngliche Nachricht-
> >Von: Mark Lybarger [mailto:[EMAIL PROTECTED]
> >Gesendet: Montag, 15. August 2005 17:10
> >An: Ant Users List
> >Betreff: Re: regexpreplace help...
> >
>Betreff: Re: regexpreplace help...
>
>one other thing, here's my regex mapping.
>
>match="RewriteRule \^/apps/(.*)?/\(\.\*\)\?
>/(.*)?/(\d\.)(\d\.)(\d+)/a/\$1 \[R\]"
>replace="RewriteRule \^/apps/\1/\(\.\*\)\? /\2/\3\4\5/a/\$1 \[R\]"
>byline=&quo
lt; [EMAIL PROTECTED]>
> wrote:
> >
> > The manual shows how to get the back-references...
> >
> > Jan
> >
> > >-Ursprüngliche Nachricht-
> > >Von: Mark Lybarger [mailto:[EMAIL PROTECTED]
> > >Gesendet: Montag, 15. August 200
et: Montag, 15. August 2005 15:27
> >An: Ant Users List
> >Betreff: Re: regexpreplace help...
> >
> >Thanks jan,
> >
> > >match="RewriteRule \^/apps/(.*)?/\(\.\*\)\? /(.*)?/(.*)?/a/\$1 \[R\]"
> >replace="RewriteRule \^/apps/$1/\(\.\*\)\? /$2
The manual shows how to get the back-references...
Jan
>-Ursprüngliche Nachricht-
>Von: Mark Lybarger [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 15. August 2005 15:27
>An: Ant Users List
>Betreff: Re: regexpreplace help...
>
>Thanks jan,
>
>
>-Ursprüngliche Nachricht-
> >Von: Mark Lybarger [mailto:[EMAIL PROTECTED]
> >Gesendet: Montag, 15. August 2005 14:25
> >An: Ant Users List
> >Betreff: regexpreplace help...
> >
> >I'm not much of a regex person, and maybe there's an easier
> >w
Jan
>-Ursprüngliche Nachricht-
>Von: Mark Lybarger [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 15. August 2005 14:25
>An: Ant Users List
>Betreff: regexpreplace help...
>
>I'm not much of a regex person, and maybe there's an easier
>way to acco
I'm not much of a regex person, and maybe there's an easier way to
accomplish this.
I've got an apache config file for using url rewriting. The rewrite rules
look something like:
RewriteRule ^/apps/MyApp/(.*)? /MyApp/1.0.62/a/$1 [R]
RewriteRule ^/apps/MyNextApp/(.*)? /MyNextApp/1.0.62/a/$1 [R]