Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'regex' not found on object of type 'NSString *' #9

Open
liujianying opened this issue Aug 11, 2016 · 1 comment
Open

Property 'regex' not found on object of type 'NSString *' #9

liujianying opened this issue Aug 11, 2016 · 1 comment

Comments

@liujianying
Copy link

mockRequest(@"GET", @"(.?)google.com(.?)".regex).
withBody(@"{"name":"abc"}".regex);

报错:Property 'regex' not found on object of type 'NSString *'

withBody(@"weread.json"); 也报错

能否提供个示例

@hypoyao
Copy link
Owner

hypoyao commented Aug 17, 2016

这个示例确实有问题,试试其它的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants