first of all I have to say: Thanks for RegexKit Lite! It's a great framework for the iPhone!
I'm trying to do a search thru multiple lines.
This is my regex: [content componentsMatchedByRegex:@"<td class=\"film1\">(.*?)javascript"];
But the returning error always has 0 entries. I tried it with (?:.*?) instead of (.*?) because the documentation has several examples with this where it says it does a multi-line search, but it doesn't work, either. I also tried (?m:.*?), but I believe this only works with ^ or $ in the regex, which I don't have!?
So how can I make a lookup that works with multiple lines?
Thanks for your help,
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
first of all I have to say: Thanks for RegexKit Lite! It's a great framework for the iPhone!
I'm trying to do a search thru multiple lines.
This is my regex: [content componentsMatchedByRegex:@"<td class=\"film1\">(.*?)javascript"];
But the returning error always has 0 entries. I tried it with (?:.*?) instead of (.*?) because the documentation has several examples with this where it says it does a multi-line search, but it doesn't work, either. I also tried (?m:.*?), but I believe this only works with ^ or $ in the regex, which I don't have!?
So how can I make a lookup that works with multiple lines?
Thanks for your help,
Michael