From 81ea6354306c4d4153d6d427c570927777263225 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Thu, 11 Jun 2009 17:24:48 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/BaseTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/BaseTypes.js b/lib/OpenLayers/BaseTypes.js index 1a12ff5528..615ef1de3e 100644 --- a/lib/OpenLayers/BaseTypes.js +++ b/lib/OpenLayers/BaseTypes.js @@ -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