From: Tom Tromey <[EMAIL PROTECTED]>
Date: Tue, 1 Aug 2006 09:05:19 -0600

> >>>>> "Ito" == Ito Kazumitsu <[EMAIL PROTECTED]> writes:
> 
> >> Eg consider the expression "bbba+".  If the buffer contains "bbb",
> >> then hitEnd should return true -- if we read more data we might
> >> possibly match this expression.  But if the buffer contained "maude",
> >> then hitEnd would return false.
> 
> Ito> Sun's hitEnd will return true for the latter case.
> 
> Weird.  I'm not sure what that implies for Scanner... it seems my
> current code must be wrong however.

I used find() and it hit end of input. But match() will NOT hit end
in that case.

Reply via email to