[
https://issues.apache.org/jira/browse/LANG-910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801093#comment-13801093
]
Matt Benson commented on LANG-910:
----------------------------------
Thanks for the clear example. I suppose that as long as you're wrapping up
{{Pattern}}/{{Matcher}} functionality it shouldn't hurt to do this. I do feel
as though the method variants that do not accept a capture group parameter
should specify 0 internally to imply the entire matched pattern.
> Patch to extend StringUtils
> ---------------------------
>
> Key: LANG-910
> URL: https://issues.apache.org/jira/browse/LANG-910
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Affects Versions: 3.1
> Environment: Developed on Ubuntu 13.04 with openjdk 7u25
> Reporter: Timur Yarosh
> Labels: patch
> Fix For: 3.2, 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.1#6144)