preg replace callbag compatability with 5.2 now