net.sf.antcontrib.property
Class RegexUtil
java.lang.Object
net.sf.antcontrib.property.RegexUtil
public class RegexUtil
extends java.lang.Object
Regular Expression utilities
static String | select(String select, Vector groups) -
Parse a select string, and merge it with a match groups
vector to produce an output string.
|
select
public static String select(String select,
Vector groups)
Parse a select string, and merge it with a match groups
vector to produce an output string. Each group placehold
in the select string is replaced with the group at the
corresponding index in the match groups vector
select
- The select stringgroups
- The match groups
- The output string with the merged selection