Avoid regex on iOS for now
Remove temporary test code