What is the difference between the JDK6 java.util.regex.Pattern's "Boundary matchers" '\z' and '\Z'?
Background: I was trying to read a UTF-8 encoded file's contents into a String. Came across this solution. I discovered that java.util.scanner.useDelimeter uses a java.util.regex.Pattern. The previously mentione solution proposes '\Z'.
 
     
    