added jpeg as picture extension

master
Pentomino 2017-06-03 16:10:36 +02:00
parent 0cf234608a
commit fcaa5a2e63
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ use DateTime;
class Level2
{
public static $imageMatch = 'https?:\/\/[^ ]+?(?:\.jpg|\.png|\.gif|\.svg)';
public static $imageMatch = 'https?:\/\/[^ ]+?(?:\.jpg|\.jpeg|\.png|\.gif|\.svg)';
public static $urlMatch = '\b(?:(?:https?|ftp|file):\/\/|www\.|ftp\.)[-A-Z0-9+&@#\/%=~_|$\(\)?!:,.]*[A-Z0-9+&@#\/%=~_|$]';
public static function getStatus($app)