[pmwiki-users] pattern matching:
Hans
design5 at softflow.co.uk
Sun Dec 3 12:51:29 CST 2006
Sunday, December 3, 2006, 1:15:44 AM, The wrote:
> preg_replace('|\{([\-\.A-Za-z0-9:_]+)\}|e', "Function($1)", $text);
> I'm trying to get this to match expressions like the following:
> {TEXT:Group.Name-36_End}
Can you say more what kind of pattern you are looking for, i.e. in
exact words, or more examples of what it should match and what it
should not match? (its easy to match anything, but what should it
exclude?)
Hans
More information about the pmwiki-users
mailing list