806 |
/***** FullMatch with no args *****/ |
/***** FullMatch with no args *****/ |
807 |
|
|
808 |
CHECK(RE("h.*o").FullMatch("hello")); |
CHECK(RE("h.*o").FullMatch("hello")); |
809 |
CHECK(!RE("h.*o").FullMatch("othello")); |
CHECK(!RE("h.*o").FullMatch("othello")); // Must be anchored at front |
810 |
CHECK(!RE("h.*o").FullMatch("hello!")); |
CHECK(!RE("h.*o").FullMatch("hello!")); // Must be anchored at end |
811 |
|
CHECK(RE("a*").FullMatch("aaaa")); // Fullmatch with normal op |
812 |
|
CHECK(RE("a*?").FullMatch("aaaa")); // Fullmatch with nongreedy op |
813 |
|
CHECK(RE("a*?\\z").FullMatch("aaaa")); // Two unusual ops |
814 |
|
|
815 |
/***** FullMatch with args *****/ |
/***** FullMatch with args *****/ |
816 |
|
|