I tried looking for a solution to this error but still can't use the class java.util.regex.Pattern, So I tried to make the import manually but I can only see three classes Matcher, MatchResult and PatternSyntaxException.
When looking in C:\Program Files\Java\jdk1.8.0_11\src.zip I can see the Pattern.java file, and I can see also the class Pattern.class when opening the JAR C:\Program Files\Java\jdk1.8.0_11\jre\lib\rt.jar.
Could someone help why Eclipse can't see this Pattern class?
This is the error as you can see it in Eclipse:
