preg_match_all doesn't reply matches array?

Taex

New Member
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:\[code\]preg_match_all("/<\?\?(\t| )?translate(\t| )?;(\t| )?(.*)(\t| )?\?\?>/U", $file, $translate_info);\[/code\]The pattern itself is working and producing subpattern matches.
 
Back
Top