This is a work derived from Russ Cox's RE2 in Go, whose license http://golang.org/LICENSE is as follows: Copyright (c) 2009 The Go Authors. All rights reserved.