Files
moxa/stdlib/go1_17_regexp.go
Nicholas Wiersma 32cbcfb412 feat: update stdlib mapping for go1.17
* Drop go1.15
* Generate go1.17
* Update minimum extract version
* Update the CI config
2021-08-17 11:42:07 +02:00

29 lines
807 B
Go

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