Minor fixes, edge cases analysis, filter addition and update to transfem webring source and my ID.
All checks were successful
Website Sync / website-sync (push) Successful in 5s

This commit is contained in:
2026-03-21 11:14:08 -03:00
parent 775641dc36
commit 1515a0067a
4 changed files with 20 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ function getFile(array $source){
// Returns the given sub-string given a initial search pattern, and a final end pattern.
function extractString(string $string,string $start_pattern, string $end_pattern) {
$start_pos = strpos($string,$start_pattern,strlen($start_pattern));
$start_pos = strpos($string,$start_pattern,strlen($start_pattern)) + strlen($start_pattern);
$end_pos = strpos($string,$end_pattern, $start_pos);
$extracted_string = substr($string, $start_pos, $end_pos - $start_pos);