On Fri, Oct 16, 2009 at 06:20, Stefan Bodewig <bode...@apache.org> wrote: [...] > >> Err, so what? A regex isn't supposed to match its whole input! > > Not in general, but what I described is how the regex mapper works and > how it is documented to work. The target file name is constructed from > the to pattern exclusively. Any not-matched part of the file name or > any part not explicitly added to the target file name via group > references will be ignored. > > This may not be what you expected, but it is how the mapper works. >
I then suggest that the documentation be reviewed to say that the regex must match all the filename. Simply telling "if the file name matches the regex in from" is misleading. -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 877 875 Tel : +33 (0) 178 945 552 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org