Jochem Maas schreef:
Ewen Cumming schreef:
Hi everybody,


...


BUT I may have work around for you, try this regexp (replaces s modifer with m modifier):

$pattern = "/<!T_([^> ]+)([^>]*)>(.*?)<!T_end\\1>|<!T_([^> ]+)([^>]*)>/mi";


the following pattern also seems to do what you want:

$pattern = "/<!T_([^> ]+)([^>]*)>(.*?)<!T_end\\1>|<!T_([^> ]+)([^>]*)>/Ui";


Im interested to know if either of these two solve your immediate issue.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to