...
Note the 'non greedy' ? operator to prevent matching more than one directory level between the two!
To Pattern: \1\2
Info |
---|
In case you need to use end of line matching in your from patterns, note that you need to escape a dollar-sign ( For more complex examples, see the Ant regexp-mapper documentation. |
...