/** * Converts the current match into a separate {@link MatchResult} instance * that is independent from this matcher. The new object is unaffected when * the state of this matcher changes. * * @return the new {@code MatchResult}. * @throws IllegalStateException * if no successful match has been made. */ public MatchResult toMatchResult() { ensureMatch(); return new MatchResultImpl(input, matchOffsets); }
public int end() { return end(0); }
public int start() { return start(0); }
public int end() { return end(0); }
public int start() { return start(0); }
/** * Converts the current match into a separate {@link MatchResult} instance * that is independent from this matcher. The new object is unaffected when * the state of this matcher changes. * * @return the new {@code MatchResult}. * @throws IllegalStateException * if no successful match has been made. */ public MatchResult toMatchResult() { ensureMatch(); return new MatchResultImpl(input, matchOffsets); }
public int end() { return end(0); }
public int start() { return start(0); }
/** * Converts the current match into a separate {@link MatchResult} instance * that is independent from this matcher. The new object is unaffected when * the state of this matcher changes. * * @return the new {@code MatchResult}. * @throws IllegalStateException * if no successful match has been made. */ public MatchResult toMatchResult() { ensureMatch(); return new MatchResultImpl(input, matchOffsets); }
public int end() { return end(0); }
public int start() { return start(0); }
/** * Converts the current match into a separate {@link MatchResult} instance * that is independent from this matcher. The new object is unaffected when * the state of this matcher changes. * * @return the new {@code MatchResult}. * @throws IllegalStateException * if no successful match has been made. */ public MatchResult toMatchResult() { ensureMatch(); return new MatchResultImpl(input, matchOffsets); }
public int end() { return end(0); }
public int start() { return start(0); }
/** * Converts the current match into a separate {@link MatchResult} instance * that is independent from this matcher. The new object is unaffected when * the state of this matcher changes. * * @return the new {@code MatchResult}. * @throws IllegalStateException * if no successful match has been made. */ public MatchResult toMatchResult() { ensureMatch(); return new MatchResultImpl(input, matchOffsets); }