mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00:00
use a simpler email pattern
This commit is contained in:
@@ -36,8 +36,7 @@ import java.util.regex.Pattern;
|
|||||||
|
|
||||||
public class GitActivity extends AppCompatActivity {
|
public class GitActivity extends AppCompatActivity {
|
||||||
private static final String TAG = "GitAct";
|
private static final String TAG = "GitAct";
|
||||||
// copied from http://stackoverflow.com/a/16058059/4247851
|
private static final String emailPattern = "^[^@]+@[^@]+$";
|
||||||
private static final String emailPattern = "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$";
|
|
||||||
|
|
||||||
private Activity activity;
|
private Activity activity;
|
||||||
private Context context;
|
private Context context;
|
||||||
|
Reference in New Issue
Block a user