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

Match everything except "/" #19

Open
priteshshah1983 opened this issue Apr 13, 2013 · 2 comments
Open

Match everything except "/" #19

priteshshah1983 opened this issue Apr 13, 2013 · 2 comments

Comments

@priteshshah1983
Copy link

I have a pattern like:
SOCPattern* pattern = [SOCPattern patternWithString:@"groups/:groupId"]; // valid groupId is of the form group:domain:identifier. Example: group:mydomain:12345

BOOL conform = [pattern stringMatches:@"groups/foo/users"]; // conform is YES

I want the :groupId to match everything other than a "/" so that the above returns NO. Is it possible?

@ipodishima
Copy link

Same issue right here :) Did you figured this out?

@priteshshah1983
Copy link
Author

Sorry, not using this anymore.

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