-
Type:
Bug
-
Status: Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.1.0
-
Fix Version/s: cordova-common@3.0.0
-
Component/s: cordova-common
-
Labels:None
-
Environment:
Mac OSX
In the src/util/plist-helpers.js, in the nodeEqual function,
```
node2 = escapeRE(node2).replace(/\\\$\S+/gm, '(.*?)');
```
seems the strange behavior.
For example, the escaped node2 "$(ABC)Hello" becomes "(.*?)".
In the previous version of this code is
```
node2 = escapeRE(node2).replace(new RegExp('
$[a-zA-Z0-9-_]+','gm'),'(.*?)');
```
in this case, the escaped node2 "$(ABC)Hello" is unchaned.
- links to