I was wondering if it’s possible to make a regular expression to find all of the text that is in between the following two strings:
mutablePath = CGPathCreateMutable();
...
CGPathAddPath(skinMutablePath, NULL, mutablePath);
Basically, the first and last lines will always be the same, and there will be a whole bunch of random stuff in between. I’m using the find feature in xCode and would like to count the number of lines that appear between all instances of the first and last line from above.
Is this even possible?
Xcode does not support multi-line regex matching. You’ll have to search for your first and last line and count the lines in between by yourself.