Fixed #7

The regex for function headers would become too complicated if anonymous functions were implemented there.