ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14619] - Mapper with type "regexp" takes 'null' for empty sub-RegExp's
Date Fri, 28 Mar 2003 14:54:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14619>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14619

Mapper with type "regexp" takes 'null' for empty sub-RegExp's

bodewig@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.6



------- Additional Comments From bodewig@apache.org  2003-03-28 14:54 -------
null is returned by all three supported libraries for groups that didn't match
anything, this is even documented 8-)

In Ant's context, the result it unexpected and I've adapted Ant to use empty
strings instead.

I'm not sure how greedy * is, but do you really need the sub-match in your
from pattern?  I.e. won't (.*\\) match the same as ((.*\\)*)?

Should be fixed in nightly build 2003-03-29.

Mime
View raw message