org.apache.tools.ant.util.regexp

Class JakartaOroRegexp

Implemented Interfaces:
Regexp, RegexpMatcher

public class JakartaOroRegexp
extends JakartaOroMatcher
implements Regexp

Regular expression implementation using the Jakarta Oro package

Field Summary

Fields inherited from class org.apache.tools.ant.util.regexp.JakartaOroMatcher

compiler, matcher

Fields inherited from interface org.apache.tools.ant.util.regexp.Regexp

REPLACE_ALL, REPLACE_FIRST

Fields inherited from interface org.apache.tools.ant.util.regexp.RegexpMatcher

MATCH_CASE_INSENSITIVE, MATCH_DEFAULT, MATCH_MULTILINE, MATCH_SINGLELINE

Constructor Summary

JakartaOroRegexp()

Method Summary

protected int
getSubsOptions(int options)
String
substitute(String input, String argument, int options)

Methods inherited from class org.apache.tools.ant.util.regexp.JakartaOroMatcher

getCompiledPattern, getCompilerOptions, getGroups, getGroups, getPattern, matches, matches, setPattern

Constructor Details

JakartaOroRegexp

public JakartaOroRegexp()

Method Details

getSubsOptions

protected int getSubsOptions(int options)


substitute

public String substitute(String input,
                         String argument,
                         int options)
            throws BuildException
Specified by:
substitute in interface Regexp


Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.