Hmm, I dont get any errors. It's working correctly here

Code:
//echo -a $regex(ill call it a spamish test,/\b $+ %emotes $+ \b/g)
0