commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-910) Patch to extend StringUtils
Date Thu, 05 Nov 2015 22:13:27 GMT

    [ 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)

Mime
View raw message