RFR: 8199594: Add doc describing how (?x) ignores spaces in character classes [v2]

Ian Graves igraves at openjdk.java.net
Wed Jul 21 21:32:55 UTC 2021


On Wed, 21 Jul 2021 20:22:04 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> Ian Graves has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   delete errant line
>
> src/java.base/share/classes/java/util/regex/Pattern.java line 833:
> 
>> 831:      * <p> Comments mode can also be enabled via the embedded flag
>> 832:      * expression {@code (?x)}.
>> 833:      *
> 
> Nit: is this extra line necessary?

Nope! Deleted.

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

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


More information about the core-libs-dev mailing list