com.indexdata.namedgroups
public class NamedMatcher extends Object implements NamedMatchResult
public Pattern standardPattern()
public NamedPattern namedPattern()
public NamedMatcher usePattern(NamedPattern newPattern)
public NamedMatcher reset()
public NamedMatcher reset(CharSequence input)
public boolean matches()
public NamedMatchResult toMatchResult()
public boolean find()
public boolean find(int start)
public boolean lookingAt()
public NamedMatcher appendReplacement(StringBuffer sb, String replacement)
public StringBuffer appendTail(StringBuffer sb)
public String group()
group
in interface MatchResult
public String group(int group)
group
in interface MatchResult
public int groupCount()
groupCount
in interface MatchResult
public List<String> orderedGroups()
orderedGroups
in interface NamedMatchResult
public String group(String groupName)
group
in interface NamedMatchResult
public Map<String,String> namedGroups()
namedGroups
in interface NamedMatchResult
public int start()
start
in interface MatchResult
public int start(int group)
start
in interface MatchResult
public int start(String groupName)
start
in interface NamedMatchResult
public int end()
end
in interface MatchResult
public int end(int group)
end
in interface MatchResult
public int end(String groupName)
end
in interface NamedMatchResult
public NamedMatcher region(int start, int end)
public int regionEnd()
public int regionStart()
public boolean hitEnd()
public boolean requireEnd()
public boolean hasAnchoringBounds()
public boolean hasTransparentBounds()
public NamedMatcher useAnchoringBounds(boolean b)
public NamedMatcher useTransparentBounds(boolean b)
Copyright © 2014. All rights reserved.