private boolean parseAutolink(){
  String m;
  if ((m=match(EMAIL_AUTOLINK)) != null) {
    String dest=m.substring(1,m.length() - 1);
    Link node=new Link("mailto:" + dest,null);
    node.appendChild(new Text(dest));
    appendNode(node);
    return true;
  }
 else   if ((m=match(AUTOLINK)) != null) {
    String dest=m.substring(1,m.length() - 1);
    Link node=new Link(dest,null);
    node.appendChild(new Text(dest));
    appendNode(node);
    return true;
  }
 else {
    return false;
  }
}

private boolean parseAutolink ( ) { String m ; if ( ( m = match ( EMAIL_AUTOLINK ) ) != null ) { String dest = m . substring ( 1 , m . length ( ) - 1 ) ; Link node = new Link ( "mailto:" + dest , null ) ; node . appendChild ( new Text ( dest ) ) ; appendNode ( node ) ; return true ; } else if ( ( m = match ( AUTOLINK ) ) != null ) { String dest = m . substring ( 1 , m . length ( ) - 1 ) ; Link node = new Link ( dest , null ) ; node . appendChild ( new Text ( dest ) ) ; appendNode ( node ) ; return true ; } else { return false ; } }
attempt to parse an autolink ( url or email in pointy brackets ) .
