Fixes #239
Infront of the function keyword, there may not be a valid functionname character
bug #240 Fixes #239, test character before function keyword (Danez)

This PR was merged into the master branch.

Discussion
----------

Fixes #239, test character before function keyword

Infront of the function keyword, there may not be a valid functionname character

Added a data set for the bug and change regex

Commits
-------

29e3f08 Fixes #239 Infront of the function keyword, there may not be a valid functionname character