KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm getting a weird warning, and as a result my regex search isn't working. Here's the line: NSRange r = [HTML rangeOfString:@"\|(.*)\|" options:NSRegularExpressionSearch]; Where HTML is a string that I'm sure contains a single match for the above regex. The warning is only on the first occurrence of "\|", not on both. Any help is much appreciated!
Tags (comma-separated)
Save Edits
Cancel