code: private static FunctionEnum function(final String s) {
          String[] args = ARGS_REGEX.split(s);
          return getFunctionEnum(args[0]);
      }
docs: Returns the function enum for the provided string.
  
  @param s String
  @return {@link FunctionEnum}