I am trying to check if a directory represented as a String contains as a substring one of the following strings
  \.. OR ..\ OR /.. OR ../ 
however the following code :
 System.out.println("C:\\mytext.zip".matches(".*(\\..|..\\|/..|../).*"));
gives true instead of false,where can be the problem in the regex?
