Bug 2371 - "foo:\b" fails to match "foo: bar"
Summary: "foo:\b" fails to match "foo: bar"
Status: CLOSED DUPLICATE of bug 986
Alias: None
Product: Regexp
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: Jakarta Notifications Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-06-27 14:38 UTC by dana.peters
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dana.peters 2001-06-27 14:38:42 UTC
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"));
    }
}
Comment 1 Michael McCallum 2001-09-08 15:58:07 UTC

*** This bug has been marked as a duplicate of 986 ***
Comment 2 Vadim Gritsenko 2003-05-02 01:28:33 UTC
closed