Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- praveze v bb2 to je riesene cez regexp ale v bb3 som nasiel len toto
- Kód:
- case 3:
- $this->bbcode_cache[$bbcode_id] = array(
- 'preg' => array(
- '#\[url:$uid\]((.*?))\[/url:$uid\]#s' => $this->bbcode_tpl('url', $bbcode_id),
- '#\[url=([^\[]+?):$uid\](.*?)\[/url:$uid\]#s' => $this->bbcode_tpl('url', $bbcode_id),
- )
- );
- a to je na mna uz moc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement