You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
804 B

package com.system.log;
import static java.nio.file.StandardWatchEventKinds.*;
import groovy.util.logging.Log4j;
import java.io.*;
import java.nio.file.*;
@Log4j
public class SystemLog {
public static void main(String[] args) throws Exception {
// String password = "zqy19.";
// //String regex = " ^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,16}$";
// //String regex = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@#$%^&+=]){6,16}$";
// String regex =
// "^(?![0-9A-Za-z]+$)(?![0-9A-Z\\W]+$)(?![0-9a-z\\W]+$)(?![A-Za-z\\W]+$)[0-9A-Za-z~!@#$%^&*()_+`\\-={}|\\[\\]\\\\:\";'<>?,./]{6,16}$";
// Pattern pattern = Pattern.compile(regex);
// Matcher matcher = pattern.matcher(password);
// System.out.println(matcher.find());
}
}