src/main/java/org/helm/notation2/parser/StateMachineParser.java
public boolean checkGroupId(String d) {
	  Pattern p = Pattern.compile("G[1-9][0-9]*", Pattern.CASE_INSENSITIVE);
	  Matcher m = p.matcher(d);
    LOG.debug("Validation of groupID:");
    if (m.matches()) {
      LOG.debug("GroupID is valid:");
      return true;
    }
    LOG.debug("GroupID is not valid:");
    return false;
  }
public boolean checkGroupId(String d) {
	  Pattern p = Pattern.compile("G[1-9][0-9]*", Pattern.CASE_INSENSITIVE);
	  Matcher m = p.matcher(d);
    LOG.debug("Validation of groupID:");
    if (m.matches()) {
      LOG.debug("GroupID is valid:");
      return true;
    }
    LOG.debug("GroupID is not valid:");
    return false;
  }
method to validate the group id

@param d ID of a group
@return true if the connection details are valid, false otherwise