I was trying to grab all the function definitions from a header file to create snippets and I noticed this quirk.
On Mac OS X 10.6.8 (left), the regular expression (.+) grabs an entire line. On Ubuntu 12.10 (right), the same regular expression misses the trailing “);”.