| Help with (regexp?) file mapper | Help with (regexp?) file mapper 2005-06-27 - By Emmanouil Batsis
Jeffrey E Care wrote:
>In the future you tell us what you have already tried: it would be helpful >in debugging the problem. Asking the question in the manner that you have >might make one think that you haven't tried this at all & are just looking >for someone to figure it out for you. > >
My intention was to be sincere, not rude. I really am clueless when it comes to regexp and have little time to actually get into regular expression tutorials right now.
>In any case, this is untested, but it should be close; you may have to >play around with the greediness qualifiers. > >
>From: (.+)/(.+).xml >To: \1/web/\2Form.java > >
It didn't work at first but then i remembered my machine at work runs windows; It works fine after changing the from attribute to (.+)\\(.+).xml. I think i saw something regarding the path seperator and how to make it transparent to the task so i'll look for that now. Many thanks for giving me a head start!
Manos
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |