Debian Codegraph @

stdlib/go1_21_regexp.go

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