--- old/src/java.base/share/classes/java/nio/file/FileSystem.java 2017-08-10 13:47:24.300434521 -0700 +++ new/src/java.base/share/classes/java/nio/file/FileSystem.java 2017-08-10 13:47:24.092425423 -0700 @@ -314,45 +314,49 @@ * representation of the path is matched using a limited pattern language * that resembles regular expressions but with a simpler syntax. For example: * - *
- * + *
* + * + * + * + * * * - * + * * * * - * + * * * * - * + * * * * - * + * * * * - * * * - * * * - * * * *
Pattern Language
Example + * Description + *
{@code *.java}{@code *.java}Matches a path that represents a file name ending in {@code .java}
{@code *.*}{@code *.*}Matches file names containing a dot
{@code *.{java,class}}{@code *.{java,class}}Matches file names ending with {@code .java} or {@code .class}
{@code foo.?}{@code foo.?}Matches file names starting with {@code foo.} and a single * character extension
/home/*/* + * /home/*/* * Matches /home/gus/data on UNIX platforms
/home/** + * /home/** * Matches /home/gus and * /home/gus/data on UNIX platforms
C:\\* + * C:\\* * Matches C:\foo and C:\bar on the Windows * platform (note that the backslash is escaped; as a string literal in the * Java Language the pattern would be "C:\\\\*")
- *
* *

The following rules are used to interpret glob patterns: *