|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovy.text.RegexUtils
public class RegexUtils
Regex package required when using JDK 1.4 JDKs. Will be removed in the next major release of Groovy.
| Constructor Summary | |
|---|---|
RegexUtils()
Deprecated. |
|
| Method Summary | |
|---|---|
static String |
quote(String s)
Deprecated. use java.util.regex.Pattern#quote(String) instead |
static String |
quoteReplacement(String str)
Deprecated. Replacement for Matcher.quoteReplacement from JDK 1.5 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegexUtils()
| Method Detail |
|---|
public static String quote(String s)
String for the specified
String. Used to escape strings that may contain
unintentional characters with special significance to replaceAll() etc.
GROOVY-3287 : This is used instead of the default Retrotranslator
backport implementation. See backport attribute in config/build-retro.xml.
s - the original string
public static String quoteReplacement(String str)
|
Copyright © 2003-2010 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||