View Single Post
Old Jul 20th, 2004, 5:10 PM   #2
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
Most interestingly enough if you use the following pattern to match it works fine...

$match_string = '/##if:[\s]*SESSION_SHOWPREFS##([^z]*)##fi:[\s]*SESSION_SHOWPREFS##/U';

It would seem that using (.+) is not matching something within the context of the subject... Any ideas?
__________________
Clifford Matthew Roche <geek@cliffordroche.com>
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote