I could be wrong, but my guess is he wants this first pass (I suppose
because that's what I'd want)...
The only problem with twice is...it doesn't address what happens if there
is a third, fourth and fifth (and so on) references...
On Sun, 8 Jan 2012, Andy Stevens wrote:
On 6 Jan 2012 21:
On 6 Jan 2012 21:12, wrote:
> Say I have a string in a file like this:
>
>require(["a","foo/b","foo/c"], function(){...})
>
> What I want to do is replace all the "foo" with "bar" so the final product
> looks like this:
>
>require(["a","bar/b","bar/c"], function(){...})
>
> With re
Greg,
I've been looking at this for about an hour or so...
I'm stumped too ;)
On Fri, 6 Jan 2012, greg.zol...@aviall.com wrote:
Hello,
I am able to do some very simple regexp replacement with the replaceregexp
ant task but now need to do something a little more advanced.
Say I have a strin
Hello,
I am able to do some very simple regexp replacement with the replaceregexp
ant task but now need to do something a little more advanced.
Say I have a string in a file like this:
require(["a","foo/b","foo/c"], function(){...})
What I want to do is replace all the "foo" with "bar"