I have a problem with preg_match_all. While preg_match does reply the whole match as the first element of the array, preg_match_all doesn't - the first array is empty. At least with the pattern I chose (havn't tried others since it's the one I need) it doesn't work. Here is my code:
preg_match_all("/<\?\?(\t| )?translate(\t| )?;(\t| )?(.*)(\t| )?\?\?>/U", $file, $translate_info);
Desen kendisi çalışıyor ve alt modelin sonuç üretiyor.