Skip to content

Commit 62ca97e

Browse files
committed
Remove redundant chararcter class declaration in regex
1 parent e4dfdd0 commit 62ca97e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/schabi/newpipe/util/urlfinder/PatternsCompat.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ public final class PatternsCompat {
361361

362362
public static final Pattern EMAIL_ADDRESS
363363
= Pattern.compile(
364-
"[a-zA-Z0-9\\+\\.\\_\\%\\-\\+]{1,256}"
364+
"[a-zA-Z0-9\\.\\_\\%\\-\\+]{1,256}"
365365
+ "\\@"
366366
+ "[a-zA-Z0-9][a-zA-Z0-9\\-]{0,64}"
367367
+ "("

0 commit comments

Comments
 (0)