- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
39 lines
1008 B
Java
39 lines
1008 B
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.VisibleForTesting;
|
|
import java.util.regex.Matcher;
|
|
import java.util.regex.Pattern;
|
|
import java.util.regex.PatternSyntaxException;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzfdb {
|
|
|
|
@Nullable
|
|
private final Pattern zza;
|
|
|
|
@VisibleForTesting
|
|
public zzfdb() {
|
|
Pattern pattern;
|
|
try {
|
|
pattern = Pattern.compile((String) com.google.android.gms.ads.internal.client.zzbe.zzc().zza(zzbcl.zzgH));
|
|
} catch (PatternSyntaxException unused) {
|
|
pattern = null;
|
|
}
|
|
this.zza = pattern;
|
|
}
|
|
|
|
@Nullable
|
|
public final String zza(@Nullable String str) {
|
|
Pattern pattern = this.zza;
|
|
if (pattern == null || str == null) {
|
|
return null;
|
|
}
|
|
Matcher matcher = pattern.matcher(str);
|
|
if (matcher.find()) {
|
|
return matcher.group();
|
|
}
|
|
return null;
|
|
}
|
|
}
|