Files
moxa/stdlib/go1_15_regexp.go
Ludovic Fernandez 8bb5daf60e feat: update stdlib mapping for go1.16
- drop stdlib for go1.14
- generate stdlib for go1.16
-  update CI configuration.
2021-02-17 10:02:03 +01:00

28 lines
790 B
Go

// Code generated by 'yaegi extract regexp'. DO NOT EDIT.
// +build go1.15,!go1.16
package stdlib
import (
"reflect"
"regexp"
)
func init() {
Symbols["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)),
}
}