package main
import (
"fmt"
"regexp"
)
type grok struct {
p *regexp.Regexp
subexpNames []string
ignoreBlank bool
patterns map[string]string
patternPaths []string
}
func main () {
//JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。
fmt.Println("Hello world! - go.jsrun.net ")
p, err := regexp.Compile(`%{(\w+?)(?::(\w+?))?}`)
fmt.Println(p)
}