| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 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 |
|
| 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 |
|
| 26 |
"Regexp": reflect.ValueOf((*regexp.Regexp)(nil)), |
| 27 |
} |
| 28 |
} |