You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2015/11/05 23:13:27 UTC
[jira] [Commented] (LANG-910) Patch to extend StringUtils
[ https://issues.apache.org/jira/browse/LANG-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992593#comment-14992593 ]
Pascal Schumacher commented on LANG-910:
----------------------------------------
Replacing hard space (ASCII #160) with normal whitespace is an enhacement, but not normalizing mixtures of hard spaces and other whitespace is not o.k. [LANG-1184].
> Patch to extend StringUtils
> ---------------------------
>
> Key: LANG-910
> URL: https://issues.apache.org/jira/browse/LANG-910
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Affects Versions: 3.1
> Environment: Developed on Ubuntu 13.04 with openjdk 7u25
> Reporter: Timur Yarosh
> Labels: patch
> Fix For: Discussion
>
> Attachments: LANG-910.patch, substring-matches-and-white-space-normalize.patch
>
>
> This patch extends StringUtils capabilities: added methods to find substring(s) by Pattern. Also method org.apache.commons.lang3.StringUtils#normalizeSpace now replaces ASCII #160 char to normal whitespace.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)