Changed \Z to \z to fit with Go's naming
This commit is contained in:
@@ -446,8 +446,8 @@ var reTests = []struct {
|
||||
{`\A`, []ReFlag{RE_MULTILINE}, "jkl\n123abc\nxyz", []Group{{0, 0}}},
|
||||
{`$`, nil, "jkl\n123abc\nxyz", []Group{{14, 14}}},
|
||||
{`$`, []ReFlag{RE_MULTILINE}, "jkl\n123abc\nxyz", []Group{{3, 3}, {10, 10}, {14, 14}}},
|
||||
{`\Z`, []ReFlag{RE_MULTILINE}, "jkl\n123abc\nxyz", []Group{{14, 14}}},
|
||||
{`^abc\Z`, []ReFlag{RE_MULTILINE}, "abc\nabc\nabc", []Group{{8, 11}}},
|
||||
{`\z`, []ReFlag{RE_MULTILINE}, "jkl\n123abc\nxyz", []Group{{14, 14}}},
|
||||
{`^abc\z`, []ReFlag{RE_MULTILINE}, "abc\nabc\nabc", []Group{{8, 11}}},
|
||||
|
||||
{`a.b`, nil, "a\nb", []Group{}},
|
||||
{`a.b`, []ReFlag{RE_SINGLE_LINE}, "a\nb", []Group{{0, 3}}},
|
||||
|
Reference in New Issue
Block a user