satisfy Opera 9.27 by escaping curly braces in regular expression. r=crschmidt (pullup #2103)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9466 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -162,7 +162,7 @@ OpenLayers.String = {
|
|||||||
* Used to find tokens in a string.
|
* Used to find tokens in a string.
|
||||||
* Examples: ${a}, ${a.b.c}, ${a-b}, ${5}
|
* Examples: ${a}, ${a.b.c}, ${a-b}, ${5}
|
||||||
*/
|
*/
|
||||||
tokenRegEx: /\${([\w.]+?)}/g,
|
tokenRegEx: /\$\{([\w.]+?)\}/g,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: OpenLayers.String.numberRegEx
|
* Property: OpenLayers.String.numberRegEx
|
||||||
|
|||||||
Reference in New Issue
Block a user