Advertisement
Guest User

Untitled

a guest
Dec 12th, 2012
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. praveze v bb2 to je riesene cez regexp ale v bb3 som nasiel len toto
  2.  
  3. Kód:
  4. case 3:
  5. $this->bbcode_cache[$bbcode_id] = array(
  6. 'preg' => array(
  7. '#\[url:$uid\]((.*?))\[/url:$uid\]#s' => $this->bbcode_tpl('url', $bbcode_id),
  8. '#\[url=([^\[]+?):$uid\](.*?)\[/url:$uid\]#s' => $this->bbcode_tpl('url', $bbcode_id),
  9. )
  10. );
  11. a to je na mna uz moc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement