Any ever notice that AS3 String.replace() and match() don't work in Scaleform?

It’s pretty weird, but I’ve noticed that the native AS3 String functions replace() and match() simply don’t work when running with Scaleform.

I’ve had to re-implement these functions by myself. It’s not a big deal, but I’d be curious to know why if anyone has any insight.