Prevent error parsing prototype functions as regexp objects
Merge pull request #18 from egavrilov/master

Prevent error parsing prototype functions as regexp objects