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:
ahocevar
2009-06-11 17:24:48 +00:00
parent d6a3c508a1
commit 81ea635430

View File

@@ -162,7 +162,7 @@ OpenLayers.String = {
* Used to find tokens in a string.
* Examples: ${a}, ${a.b.c}, ${a-b}, ${5}
*/
tokenRegEx: /\${([\w.]+?)}/g,
tokenRegEx: /\$\{([\w.]+?)\}/g,
/**
* Property: OpenLayers.String.numberRegEx