Update nmap-os-db syntax to support nested ranges

This commit is contained in:
dmiller 2023-11-27 23:05:04 +00:00
parent 71d76026dc
commit b839872f91
4 changed files with 83 additions and 18 deletions

View file

@ -75,7 +75,6 @@ const struct expr_test tests[] = {
{"<A", "", false},
{">A", "", false},
{"1-9", "", false},
#if 0
{"M[1-9]", "M2", true},
{"M[<5]S", "M2S", true},
{"M[>A]S", "MFS", true},
@ -116,7 +115,6 @@ const struct expr_test tests[] = {
{"[<5]S", "2B", false},
{"[>A7]S", "FS", false},
{"[>A7]S", "A6S", false},
#endif
{"", "", true}
};