// MustNewLexer creates a new Lexer or panics.
MustNewLexer creates a new Lexer or panics.
// MustNewLexer creates a new Lexer or panics .
func MustNewLexer(config *Config, rules Rules) *RegexLexer {
	lexer, err := NewLexer(config, rules)
	if err != nil {
		panic(err)
	}
	return lexer
}
func MustNewLexer ( config * Config , rules Rules ) * RegexLexer { lexer , err := NewLexer ( config , rules ) if err != nil { panic ( err ) } return lexer }
MustNewLexer creates a new Lexer or panics.
MustNewLexer creates a new Lexer or panics .