-
-
Field Summary
-
Fields inherited from class edu.washington.cs.knowitall.regex.Match
pairs
-
-
Method Detail
-
startIndex
public int startIndex()
- Specified by:
startIndex in class Match<E>
- Returns:
- the index of the first token matched (inclusive start).
-
endIndex
public int endIndex()
- Specified by:
endIndex in class Match<E>
- Returns:
- the index one past of the last token matched (exclusive end).
-
tokens
public List<E> tokens()
- Specified by:
tokens in class Match<E>
- Returns:
- all matched tokens.
Copyright © 2010–2013 University of Washington CSE. All rights reserved.