Function list for Caml
-
Have a good look at how you parse for (optional) function parameters e.g. are the parentheses optional or mandatory?
-
Furthermore, I presume
([a-z_]\w*(\s+[a-z_]\w*)*\s+)|(\(\s*\)\s+)is intended as
([a-z_]\w*(\s+[a-z_]\w*)*\s+|\(\s*\)\s+) -
Indeed, the whitespace at the end was a problem so I replaced \s+in\s with \sin$
Still the problem with “for”. I noticed that it happend only with functions which has no parameters, but why… -
Did also remove the superfluous parentheses?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login