github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_regexp.go (about) 1 // Code generated by 'yaegi extract regexp'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "reflect" 9 "regexp" 10 ) 11 12 func init() { 13 Symbols["regexp/regexp"] = map[string]reflect.Value{ 14 // function, constant and variable definitions 15 "Compile": reflect.ValueOf(regexp.Compile), 16 "CompilePOSIX": reflect.ValueOf(regexp.CompilePOSIX), 17 "Match": reflect.ValueOf(regexp.Match), 18 "MatchReader": reflect.ValueOf(regexp.MatchReader), 19 "MatchString": reflect.ValueOf(regexp.MatchString), 20 "MustCompile": reflect.ValueOf(regexp.MustCompile), 21 "MustCompilePOSIX": reflect.ValueOf(regexp.MustCompilePOSIX), 22 "QuoteMeta": reflect.ValueOf(regexp.QuoteMeta), 23 24 // type definitions 25 "Regexp": reflect.ValueOf((*regexp.Regexp)(nil)), 26 } 27 }