On Wed, 9 Mar 2022 01:33:43 GMT, Ian Graves <igra...@openjdk.org> wrote:

>> Proposed change in behavior to correct inconsistencies between `\w` and `\b` 
>> metacharacters
>
> Ian Graves has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Updating with additional descriptors. Removing DataProvider import

src/java.base/share/classes/java/util/regex/Pattern.java line 161:

> 159:  *     <td headers="matches predef any">Any character (may or may not 
> match <a href="#lt">line terminators</a>)</td></tr>
> 160:  * <tr><th style="vertical-align:top; font-weight:normal" 
> id="digit">{@code \d}</th>
> 161:  *     <td headers="matches predef digit">A digit: {@code [0-9]} if if 
> <a href="#UNICODE_CHARACTER_CLASS">

Looks like there is a superfluous `if` here.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7539

Reply via email to