You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Darryl Pogue (JIRA)" <ji...@apache.org> on 2018/11/07 19:06:00 UTC

[jira] [Resolved] (CB-13496) the plugin config-file tag for iOS plist array behaves unnaturally.

     [ https://issues.apache.org/jira/browse/CB-13496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darryl Pogue resolved CB-13496.
-------------------------------
       Resolution: Fixed
         Assignee: Darryl Pogue
    Fix Version/s: cordova-common@3.0.0

> the plugin config-file tag for iOS plist array behaves unnaturally.
> -------------------------------------------------------------------
>
>                 Key: CB-13496
>                 URL: https://issues.apache.org/jira/browse/CB-13496
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-common
>    Affects Versions: 2.1.0
>         Environment: Mac OSX
>            Reporter: Ken Naito
>            Assignee: Darryl Pogue
>            Priority: Trivial
>             Fix For: cordova-common@3.0.0
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org