1+ results for '/[cb]at/' (0 ms)

Not the results you expected?

lexer_test.go (https://github.com/boyter/sc.git) Go ยท 431 lines

258

259 func TestNextTokenRegexValue(t *testing.T) {

260 lex := NewLexer(`/[cb]at/`)

261

262 token := lex.NextToken()

422

423 func TestTokens(t *testing.T) {

424 lex := NewLexer(`(something AND else) OR (other NOT this) AND /[cb]at/`)

425

426 tokens := lex.Tokens()