I'm having trouble to use RegexKitLite to match string like
NSString encodedPoints=[apiResponse stringByMatching:@"\\"([^\\"])\\"^[^:]*" capture:0];
and apiResponse is: http://maps.google.com/maps?output=dragdir&saddr=20.001364,73.749283&daddr=19.991499,73.744095
So, to do by this way i am getting following error: __NSCFString stringByMatching:capture:]: unrecognized selector sent to instance 0x131fc0
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByMatching:capture:]: unrecognized selector sent to instance 0x131fc0' * First throw…