groovy.text
Class RegexUtils

java.lang.Object
  extended by groovy.text.RegexUtils

public class RegexUtils
extends java.lang.Object


Constructor Summary
RegexUtils()
           
 
Method Summary
static java.lang.String quote(java.lang.String s)
          Replacement for Pattern.quote from JDK 1.5
static java.lang.String quoteReplacement(java.lang.String str)
          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

RegexUtils

public RegexUtils()
Method Detail

quote

public static java.lang.String quote(java.lang.String s)
Replacement for Pattern.quote from JDK 1.5


quoteReplacement

public static java.lang.String quoteReplacement(java.lang.String str)
Replacement for Matcher.quoteReplacement from JDK 1.5


Copyright © 2003-2008 The Codehaus. All rights reserved.