Originally Posted By: peter
might be to try and end the blame by matching the start of the next function instead. Is there a mandatory doc-comment or something you could look for?


I also want to acknowledge, giving credit where due, that Peter was the first to mention this idea in this discussion thread. At that point I had already seen examples on StackOverflow pointing out the idea of looking for things like (Private|Public|etc.) to find the start of the next function, but their syntax wasn't working for me, probably because they were all written in PCRE or something.
_________________________
Tony Fabris