From 22f5d0cc45bd1cadfc32f407b122bf3a96f049b0 Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Thu, 20 Dec 2012 17:49:11 -0500 Subject: [PATCH] Support : in column names --- lib/carto/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/carto/parser.js b/lib/carto/parser.js index d98d9a0..81b1e64 100644 --- a/lib/carto/parser.js +++ b/lib/carto/parser.js @@ -414,7 +414,7 @@ carto.Parser = function Parser(env) { // needs to be careful to warn when unsupported operations are used. field: function() { if (! $('[')) return; - var field_name = $(/(^[a-zA-Z0-9\-_]+)/); + var field_name = $(/(^[\:a-zA-Z0-9\-_]+)/); if (! $(']')) return; if (field_name) return new tree.Field(field_name[1]); },