How to search (case-sensitive) for files using Java glob pattern?
问题 I am checking the getPathMatcher method of FileSystem class. The documentation of the method says: For both the glob and regex syntaxes, the matching details, such as whether the matching is case sensitive, are implementation-dependent and therefore not specified. I tested this and came to know that by default it is case-insensitive. How to make it case-sensitive? I am using JDK7u25 on Windows7. 回答1: No, it is not case-insensitive by default. As the doc says, case sensitivity is