org.springframework.integration.ip.util
Class RegexUtils
java.lang.Object
org.springframework.integration.ip.util.RegexUtils
public abstract class RegexUtils
- extends Object
Regular Expression Utilities.
- Author:
- Gary Russell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexUtils
public RegexUtils()
escapeRegExSpecials
public static String escapeRegExSpecials(String stringToEscape)
- Escapes (precedes with \) any characters in the parameter in the set
.$[]^*+{}()\?|
Used to escape a string that is used as a regular expression pattern, to remove
the special meaning of these characters.
- Parameters:
stringToEscape
- The string to escape.
- Returns:
- The escaped string.
Copyright © 2010. All Rights Reserved.