RFR: 8164781: Pattern.asPredicate specification is incomplete
uschindler at apache.org
Sun Apr 1 10:56:48 UTC 2018
In general, I'd prefer to have a predicate that uses matches() instead of find(). In my code I have never used find() because in most cases you want to match the whole string anyways. Of course you can use ^ and $ but I don't like that leniency. If I write code, I prefer to be explicit in the code what should done.
So I would prefer to add another asPredicate method that uses matches. I was stumbling on that several times.
Am April 1, 2018 8:11:47 AM UTC schrieb Vivek Theeyarath <vivek.theeyarath at oracle.com>:
> Please review.
More information about the core-libs-dev