Sha256: 9a7e001808195c84f2a7d3e18bc0a82c7386e60f03a616e99af00c3f7f2c3fd4
Contents?: true
Size: 927 Bytes
Versions: 30
Compression:
Stored size: 927 Bytes
Contents
[[test]] name = "1" regex = "(?i)abc" haystack = "ABC" matches = [[0, 3]] [[test]] name = "2" regex = "(?i)a(?-i)bc" haystack = "Abc" matches = [[0, 3]] [[test]] name = "3" regex = "(?i)a(?-i)bc" haystack = "ABC" matches = [] [[test]] name = "4" regex = "(?is)a." haystack = "A\n" matches = [[0, 2]] [[test]] name = "5" regex = "(?is)a.(?-is)a." haystack = "A\nab" matches = [[0, 4]] [[test]] name = "6" regex = "(?is)a.(?-is)a." haystack = "A\na\n" matches = [] [[test]] name = "7" regex = "(?is)a.(?-is:a.)?" haystack = "A\na\n" matches = [[0, 2]] match-limit = 1 [[test]] name = "8" regex = "(?U)a+" haystack = "aa" matches = [[0, 1]] match-limit = 1 [[test]] name = "9" regex = "(?U)a+?" haystack = "aa" matches = [[0, 2]] [[test]] name = "10" regex = "(?U)(?-U)a+" haystack = "aa" matches = [[0, 2]] [[test]] name = "11" regex = '(?m)(?:^\d+$\n?)+' haystack = "123\n456\n789" matches = [[0, 11]] unicode = false
Version data entries
30 entries across 30 versions & 1 rubygems