what-the-bank/sources/o/C3171asV.java

23 lines
722 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* renamed from: o.asV, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C3171asV extends ZI<InterfaceC9038dcF> {
@InterfaceC13391fZD
public C3171asV(C16903sI c16903sI) {
super(c16903sI);
}
public final boolean d(String str, String str2) {
return !str.isEmpty() && !str2.isEmpty() && str.matches("^[a-zA-Z0-9]*$") && e(str2);
}
public static boolean c(String str) {
return str.matches("^[a-zA-Z0-9]*$");
}
public static boolean e(String str) {
return ((str == null || str.equals("")) || Character.isWhitespace(str.charAt(0)) || str.startsWith("-") || !str.matches("[a-zA-Z- ]{1,5}")) ? false : true;
}
}