Ensure one can specify regexes in sql expressions

This commit is contained in:
Tobie Morgan Hitchcock 2017-12-11 15:59:55 +00:00
parent 91bfb043dc
commit 0c607302ed

View file

@ -501,7 +501,7 @@ func (p *parser) parsePart() (exp Expr, err error) {
toks := []Token{ toks := []Token{
MUL, EXPR, IDENT, THING, MODEL, MUL, EXPR, IDENT, THING, MODEL,
NULL, VOID, EMPTY, MISSING, NULL, VOID, EMPTY, MISSING,
TRUE, FALSE, STRING, REGION, NUMBER, DOUBLE, TRUE, FALSE, STRING, REGION, NUMBER, DOUBLE, REGEX,
DATE, TIME, DURATION, JSON, ARRAY, PARAM, LPAREN, IF, DATE, TIME, DURATION, JSON, ARRAY, PARAM, LPAREN, IF,
} }