Files
VisualSapfor/src/Common/CommonConstants.java

23 lines
860 B
Java
Raw Normal View History

2024-10-07 14:22:52 +03:00
package Common;
2024-10-07 22:04:09 +03:00
import Common.Utils.Vector_;
import java.util.Vector;
import java.util.regex.Pattern;
2024-10-07 14:22:52 +03:00
public class CommonConstants {
public static final int Nan = -1;
2024-10-07 22:04:09 +03:00
public static final Pattern VALID_EMAIL_ADDRESS_REGEX =
Pattern.compile("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,6}$", Pattern.CASE_INSENSITIVE);
2024-10-07 14:22:52 +03:00
public static char[] regular_metasymbols = new char[]{
'<', '>', '(', ')', '[', ']', '{', '}', '^', '-', '=', '$', '!', '|', '?', '*', '+', '.'
};
2024-10-07 22:04:09 +03:00
public static char toStrike = (char) 822;
public static char boop = (char) 7;
public static Vector<Character> forbidden_file_name_characters = new Vector_<>(
'#', '%', '&', '{', '}',
'<', '>', '*', '?', '!',
'$', '\'', '\"', '@', '+',
'`', '|', '=', '#', ':', '/', '\\',
'~', '^'
);
2024-10-07 14:22:52 +03:00
}