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: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | 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.