furkilic opened a new pull request #126: Text 174: ScriptStringLookup does not accept ":" URL: https://github.com/apache/commons-text/pull/126 The usage of ":" can be pretty usefull for inside a ScriptStringLookup For example ternary operations : `${script:javascript:'${myKey:-}' == '' ? 'Not Present' : 'Present' }` Today it's not possible to do that because the lookup only expect one ":" `final String[] keys = key.split(SPLIT_STR);` But we can limit the number of split to two: `final String[] keys = key.split(SPLIT_STR, 2);` Thanks a lot
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services