https://issues.apache.org/bugzilla/show_bug.cgi?id=46309
Summary: Ant patterns are ridiculously poor
Product: Ant
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
The only way to express a path in any "include" tag is to use the so-called
pattern expressions. While regexp() had been providing a complete and
consistant pattern grammar for decades, the Ant pattern system uses a
completely broken grammar :
- only "*", "**" and "?" are allowed in the pattern grammar for variable
elements.
No way to express a character range or word list for example such as [a-z], or
{blah,foo}. No way to express a repetition number, etc. No way to express that
a particular character is to be repeated zero or N times (* or ? means ANY
character).
The documentation proudly affirms that "you have a powerful way to select just
the files you want.". This is ridiculous, in my opinion correct only at *ant*'s
sight, 1 mm up the ground level.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.