A JavaScript-compatible RegExp for Objective-C.