they can be constants - will change

Sent from my iPhone

On May 16, 2013, at 9:47 PM, Tom Payne <notifications@github.com> wrote:

> In src/ol/parser/wkt.js:
> 
> > +goog.require('ol.parser.Parser');
> > +
> > +
> > +
> > +/**
> > + * @constructor
> > + * @extends {ol.parser.Parser}
> > + */
> > +ol.parser.WKT = function() {
> > +  this.regExes = {
> > +    typeStr: /^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,
> > +    spaces: /\s+/,
> > +    parenComma: /\)\s*,\s*\(/,
> > +    doubleParenComma: /\)\s*\)\s*,\s*\(\s*\(/,
> > +    trimParens: /^\s*\(?(.*?)\)?\s*$/
> > +  };
> Does each parser instance need its own RegExps or can these be constants?
> 
> —
> Reply to this email directly or view it on GitHub.