Advertisement
Guest User

Untitled

a guest
Jul 8th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $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