groovy.text
Class RegexUtils

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

public class RegexUtils
extends Object


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


quoteReplacement

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


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