Files
moxa/stdlib/go1_12_regexp.go
Ludovic Fernandez 7e07a183ed chore: support go1.11 and go 1.12. (#130)
* feat: support go1.11 and go 1.12.

* chore: generate.

* fix: build constraint.

* exclude importer.For

* generate go 1.11
2019-03-19 22:08:17 +01:00

28 lines
784 B
Go

// +build go1.12,!go1.13
package stdlib
// Code generated by 'goexports regexp'. DO NOT EDIT.
import (
"reflect"
"regexp"
)
func init() {
Value["regexp"] = map[string]reflect.Value{
// function, constant and variable definitions
"Compile": reflect.ValueOf(regexp.Compile),
"CompilePOSIX": reflect.ValueOf(regexp.CompilePOSIX),
"Match": reflect.ValueOf(regexp.Match),
"MatchReader": reflect.ValueOf(regexp.MatchReader),
"MatchString": reflect.ValueOf(regexp.MatchString),
"MustCompile": reflect.ValueOf(regexp.MustCompile),
"MustCompilePOSIX": reflect.ValueOf(regexp.MustCompilePOSIX),
"QuoteMeta": reflect.ValueOf(regexp.QuoteMeta),
// type definitions
"Regexp": reflect.ValueOf((*regexp.Regexp)(nil)),
}
}