[[tests]] name = "100" regex = "|b" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "110" regex = "b|" input = "abc" matches = [[0, 0], [1, 2], [3, 3]] [[tests]] name = "120" regex = "|z" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "130" regex = "z|" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "200" regex = "|" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "210" regex = "||" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "220" regex = "||b" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "230" regex = "b||" input = "abc" matches = [[0, 0], [1, 2], [3, 3]] [[tests]] name = "240" regex = "||z" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "300" regex = "(?:)|b" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "310" regex = "b|(?:)" input = "abc" matches = [[0, 0], [1, 2], [3, 3]] [[tests]] name = "320" regex = "(?:|)" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "330" regex = "(?:|)|z" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "400" regex = "a(?:)|b" input = "abc" matches = [[0, 1], [1, 2]] [[tests]] name = "500" regex = "" input = "" matches = [[0, 0]] [[tests]] name = "510" regex = "" input = "a" matches = [[0, 0], [1, 1]] [[tests]] name = "520" regex = "" input = "abc" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "600" regex = '(|a)*' input = "aaa" matches = [[0, 0], [1, 1], [2, 2], [3, 3]] [[tests]] name = "610" regex = '(|a)+' input = "aaa" matches = [[0, 0], [1, 1], [2, 2], [3, 3]]