Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ret['text'] = preg_replace(array('/{(\d+|[x])}/i','/{([uwgrb])}/ie','/{\(([uwgrb])\/(uwgrb])\)}?/ie','/{\((\d+)\/([uwgrb])\)}?/ie','/{[t]}/i','/{[q]}/i'), array('{[\\1]}','"{".$colors[\\1]."}"', '\'{\'.($colors[\\1] + $colors[\\2]).\'}\'','\'{[\\1]|\'.$colors[\\2].\'}\'','{T}','{U}'), $value);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement