Update `translate()` pattern to ignore functions

Update regular expression in `parser.code.translate()` to ignore
function calls. Add test case to verify.

Still to add code to ignore Python keywords and functions imported from
other modules.