test: slre: add some (negative) character class tests
Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
This commit is contained in:
committed by
Tom Rini
parent
09b48305d3
commit
ebdd78c487
@@ -23,6 +23,9 @@ static const struct re_test re_test[] = {
|
||||
{ "", "^x*$", 1},
|
||||
{ "yy", "x*$", 1},
|
||||
{ "yy", "^x*$", 0},
|
||||
{ "Gadsby", "^[^eE]*$", 1},
|
||||
{ "Ernest", "^[^eE]*$", 0},
|
||||
{ "6d41f0a39d6", "^[0123456789abcdef]*$", 1 },
|
||||
{}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user