public SqlExpr compile(Scope scope)
{
// TODO Convert regex to using a string value table?
MapResult rMap = exprPattern.match(getExpr()) ;
if ( rMap == null )
throw new SDBException("Couldn't compile after all: "+getExpr()) ;
Var var = rMap.get(Var.alloc("a1")).getExprVar().asVar() ;
String pattern = rMap.get(Var.alloc("a2")).getConstant().getString() ;
if ( ! scope.hasColumnForVar(var) )