Implemented the text parser FunctionParser, which searches for function
patterns in text.