[OpenLayers-Trac] [OpenLayers] #3156: Format: define common regular expressions only once

OpenLayers trac-20090302 at openlayers.org
Mon Mar 7 10:12:56 EST 2011


#3156: Format: define common regular expressions only once
---------------------+------------------------------------------------------
 Reporter:  fredj    |       Owner:              
     Type:  feature  |      Status:  new         
 Priority:  minor    |   Milestone:  2.11 Release
Component:  general  |     Version:  2.10        
 Keywords:           |       State:              
---------------------+------------------------------------------------------
 The same regular expressions (regExes.trimSpace, regExes.removeSpace, ...)
 are defined several times in {{{Format.WKT}}}, {{{Format.GML}}},
 {{{Format.KML}}}, {{{OpenLayers.Format.WMSGetFeatureInfo}}},
 {{{Format.OWSCommon.v1}}},  and more.

 They should be defined once (in {{{OpenLayers.Format}}} or
 {{{OpenLayers.Utils}}} or maybe in {{{OpenLayers.String}}})

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3156>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list