Re: replaceregexp on multiple lines

2005-03-28 Thread Nicolas Vervelle
Ok, thanks for the answer, in fact, I have modified the file for not having new lines any more. But I will remember the difference between '*' and '*?', that could be useful :) Nicolas David Resnick wrote: You need to look into the documentation of the regexp package you have Ant setup to use (th

RE: replaceregexp on multiple lines

2005-03-27 Thread David Resnick
You need to look into the documentation of the regexp package you have Ant setup to use (the default is java.util.regex in JDK 1.4; you can find docs for it here: http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html). The quantifier you used, '*', is characterized as a greedy quant