@FastMethod @Signature public Memory requireEnd(Environment env, Memory... args) { return matcher.requireEnd() ? Memory.TRUE : Memory.FALSE; }
/** * Returns true if more input could change a positive match into a negative one. * * @return true iff more input could change a positive match into a negative one. */ public boolean requireEnd() { return matcher.requireEnd(); }
/** * Returns true if more input could change a positive match into a negative one. * * @return true iff more input could change a positive match into a negative one. */ public boolean requireEnd() { return matcher.requireEnd(); }
/** * @see com.github.rwitzel.streamflyer.regex.OnStreamMatcher#requireEnd() */ @Override public boolean requireEnd() { return matcher.requireEnd(); }
/** * @see com.googlecode.streamflyer.regex.OnStreamMatcher#requireEnd() */ @Override public boolean requireEnd() { return matcher.requireEnd(); }
public boolean requireEnd() { return matcher.requireEnd(); }
public boolean requireEnd() { return matcher.requireEnd(); }
public boolean requireEnd() { return matcher.requireEnd(); }
public static void main(final String... args) { final Pattern p = Pattern.compile("cat$"); final Matcher m = p.matcher("I have a cat"); m.find(); // finds a match System.out.println(m.requireEnd()); // prints true }
while (matcher.find() && matcher.end() == remaining.length() && matcher.requireEnd()) { if (read(readBuffer, 0, 1) >= 0) { matcher = rs.matcher(remaining);