5.
~NumeroElemento~
RegEx
~ident~ 
" {3}"
~QuantidadeElementos~
ehNo?" {3}"
ehNo e expandir?verde: vermelho
NomeIdent=conteudo?conteudo,nome, id:nome, id
link=nao ehindice?hlink
link=nao exibir e
ehindice :âncora na página
ehNo ou nao conteudo?5.
exibir?verde: vermelho

<a href="~ParaOnde~" ~janela~>
<a href="#dispatchEvent"><span class="NomeElemento">dispatchEvent</span></a>

  1. <a href="~ParaOnde~" ~janela~><span class="~classe~">~NomeOuId~</span></a>
    !conteudo[id] && !ver(EhIndice)  && ver(id)
    ver(EhIndice) && ver(id)
  2. <span class="~classe~">~NomeOuId~</span>
    ver(EhIndice) && !ver(id)
  3. ~ConteudoNomeOuId~
    conteudo[id] && !ver(EhIndice) && ver(id)
  4. ''
    !ver(EhIndice) && !ver(id)
conteudo[id]
    ver(EhIndice)
        ver(id)
0   0   1
-   1   1 === 1
-   1   0 === 2
1   0   1 === 3
-   0   0 === 4   

if (ver(EhIndice)) {
    if (ver(id)) {ident = Formato[1];}
    else {ident = Formato[2];}}
else {
    if (ver(id)) {
        if (conteudo[id]) {ident = Formato[3];}
        else {ident = Formato[1];}}
    else ident = Formato[4];}

  1. hlink [idElemento] 
    hlink && !ver("EhIndice")
  2. # + idElemento
    ver("EhIndice") 
  3. tryit + id
    !ver("EhIndice") && !EhNo
  4. google + id
    !ver("EhIndice") && EhNo
ver("EhIndice")
    hlink
0   1 === Link[1] = 'hlink [idElemento]';
1   - === Link[2] = # + idElemento
0   0 === Link[3] = google + id
   

if ( ver("EhIndice")) {ParaOnde = Link[2];}
else {
    if (hlink[idElemento]) {ParaOnde = Link[1];}
    else {ParaOnde = Link[3];}}