Browse Source

Maybe I should *test* my regex lol

master
Alan Hardman 5 months ago
parent
commit
70bedd7b27
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      kiwiblitz.php
  2. +1
    -1
      letsspeakenglish.php
  3. +1
    -1
      sleeplessdomain.php

+ 1
- 1
kiwiblitz.php View File

@@ -43,7 +43,7 @@ while (true) {
return;
}

preg_match('@/comics/(([0-9a-zA-Z_-]+\\.(jpg|png|gif))@', $html, $matches);
preg_match('@/comics/([0-9a-zA-Z_-]+\\.(jpg|png|gif))@', $html, $matches);
if (empty($matches[1])) {
echo "No image found on page!\n";
return;


+ 1
- 1
letsspeakenglish.php View File

@@ -45,7 +45,7 @@ while (true) {
return;
}

preg_match('@/comics/(([0-9a-zA-Z_-]+\\.(jpg|png|gif))@', $html, $matches);
preg_match('@/comics/([0-9a-zA-Z_-]+\\.(jpg|png|gif))@', $html, $matches);
if (empty($matches[1])) {
echo "No image found on page!\n";
return;


+ 1
- 1
sleeplessdomain.php View File

@@ -44,7 +44,7 @@ while (true) {
return;
}

preg_match('@/comics/(([0-9a-zA-Z_-]+\\.(jpg|png|gif))@', $html, $matches);
preg_match('@/comics/([0-9a-zA-Z_-]+\\.(jpg|png|gif))@', $html, $matches);
if (empty($matches[1])) {
echo "No image found on page!\n";
return;


Loading…
Cancel
Save