[pmwiki-devel] Question about nested expressions...
    The Editor 
    editor at fast.st
       
    Sun Apr 29 09:46:03 CDT 2007
    
    
  
I'm trying to understand how the nesting capabilities work in Pm's new
core markup expressions function and think it has to do with these
main lines...
  $expr = preg_replace('/\\(\\W/e', "Keep(PSS('$2'),'P')", $expr);
  while (preg_match('/\\((\\w+)(\\s[^()]*)?\\)/', $expr, $match)) {
    list($repl, $func, $params) = $match;
But for the life of me it doesn't make too much sense.  Would anyone
be willing to try and interpret this briefly in a little bit more
accessible english?
TIA, a bunch!
Cheers,
Dan
    
    
More information about the pmwiki-devel
mailing list