[
https://issues.apache.org/jira/browse/LANG-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15681041#comment-15681041
]
ASF GitHub Bot commented on LANG-1066:
--------------------------------------
Github user PascalSchumacher commented on a diff in the pull request:
https://github.com/apache/commons-lang/pull/208#discussion_r88799517
--- Diff: src/main/java/org/apache/commons/lang3/StringEscapeUtils.java ---
@@ -413,6 +447,47 @@ public int translate(final CharSequence input, final
int index, final Writer out
}
}
+ public static final CharSequenceTranslator UNESCAPE_XSI = new
BackslashUnescaper();
+
+ /**
+ * Translator object for unescaping backslash escaped entries.
+ *
+ * @since 3.6
+ */
+ static class BackslashUnescaper extends CharSequenceTranslator {
--- End diff --
No sure why the author of the patch choose this naming. I'm fine with
changing it.
> shell/XSI escape/unescape support
> ---------------------------------
>
> Key: LANG-1066
> URL: https://issues.apache.org/jira/browse/LANG-1066
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Affects Versions: 3.3.2
> Reporter: Mark
> Priority: Minor
> Attachments: commons-lang3.trunk.rev1639624.patch
>
>
> Please add the supplied patch. Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)