You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Pepijn Noltes (JIRA)" <ji...@apache.org> on 2014/01/09 17:42:58 UTC

[jira] [Commented] (CELIX-94) extend properties support for escaping equals sign

    [ https://issues.apache.org/jira/browse/CELIX-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13866773#comment-13866773 ] 

Pepijn Noltes commented on CELIX-94:
------------------------------------

the properties_load and _store is update to support escaped #,!,: and = characters.
So properties like 
key\#with\=escaped=values\!are\:now\=possible
now work

> extend properties support for escaping equals sign
> --------------------------------------------------
>
>                 Key: CELIX-94
>                 URL: https://issues.apache.org/jira/browse/CELIX-94
>             Project: Celix
>          Issue Type: Improvement
>            Reporter: Bjoern Petri
>            Assignee: Pepijn Noltes
>            Priority: Minor
>             Fix For: 1.0.0-incubating
>
>         Attachments: propertiesEscapeSupport.patch
>
>
> I would like to be able to have equal signs, within properties which I want to load via the properties_load function. 
> Therefore, I changed the code, so that equals sign in the key itself can be expressed by "a\=b=c". Internally the key will be a=b (so I get rid of the escape sign). 
> See code/test case  of attached patch.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)