Files
moxa/stdlib/go1_19_regexp.go
Marc Vertes 0e3ea5732a update to go1.20
* update to go1.20

* lint

* fix: ci

---------

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-02-03 14:32:05 +01:00

29 lines
826 B
Go

// Code generated by 'yaegi extract regexp'. DO NOT EDIT.
//go:build go1.19 && !go1.20
// +build go1.19,!go1.20
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)),
}
}