http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2371 *** shadow/2371 Wed Jun 27 14:38:43 2001 --- shadow/2371.tmp.9007 Wed Jun 27 14:38:43 2001 *************** *** 0 **** --- 1,30 ---- + +============================================================================+ + | "foo:\b" fails to match "foo: bar" | + +----------------------------------------------------------------------------+ + | Bug #: 2371 Product: Regexp | + | Status: NEW Version: unspecified | + | Resolution: Platform: PC | + | Severity: Normal OS/Version: Windows NT/2K | + | Priority: Other Component: Other | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + The following code produces "match returned false", whereas I believe it should + return true: + + import org.apache.regexp.*; + public class RETest { + public static void main(String[] args) { + RE re; + try { + re = new RE("foo:\\b"); + } + catch (RESyntaxException e) { return; } + System.out.println("match returned " + re.match("foo: bar")); + } + } \ No newline at end of file