Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Function list for Caml

    Help wanted · · · – – – · · ·
    function list
    5
    24
    4712
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MAPJe71
      MAPJe71 last edited by

      Have a good look at how you parse for (optional) function parameters e.g. are the parentheses optional or mandatory?

      1 Reply Last reply Reply Quote 0
      • MAPJe71
        MAPJe71 last edited by

        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+)
        
        1 Reply Last reply Reply Quote 0
        • Tom Saury
          Tom Saury last edited by

          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…

          1 Reply Last reply Reply Quote 0
          • MAPJe71
            MAPJe71 last edited by

            Did also remove the superfluous parentheses?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors