jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2525] New: - Leading zero-length string splitted by RE
Date Tue, 10 Jul 2001 01:50:38 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2525

*** shadow/2525	Mon Jul  9 18:50:38 2001
--- shadow/2525.tmp.18273	Mon Jul  9 18:50:38 2001
***************
*** 0 ****
--- 1,19 ----
+ +============================================================================+
+ | Leading zero-length string splitted by RE                                  |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2525                        Product: Regexp                  |
+ |       Status: NEW                         Version: unspecified             |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows 9x              |
+ |     Priority: Other                     Component: Other                   |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: regexp-dev@jakarta.apache.org                                |
+ |  Reported By: arlou@263.net                                                |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When I use an RE, say "a*b", to split a string like "aaabxyz", I'd think only 1 
+ part comes out, but there are 2 parts, with the first is a zero-length string. 
+ I wonder there is something missed in RE.split.

Mime
View raw message