Add tests for escaped digits.

This commit is contained in:
Todd C. Miller
2023-01-23 08:48:21 -07:00
parent f6340068d1
commit e11bb93e26

View File

@@ -76,7 +76,11 @@ static struct regex_test test_data[] = {
{ "ab{,256}", false },
{ "ab{256,}", false },
{ "ab{1,256}", false },
{ "ab{1,\\256}", false },
{ "ab{1,2\\56}", false },
{ "ab{256,1}", false },
{ "ab{\\256,1}", false },
{ "ab{2\\56,1}", false },
{ NULL }
};