Skip to content

Commit

Permalink
Gestione doppio tipo di apostrofo
Browse files Browse the repository at this point in the history
L'interprete supportava solo l'apostrofo ordinario ( ' ) adesso scompone in lessemi anche con l'apostrofo con stile ( ’ ) e lo accetta come alternativa a quello ordinario.
  • Loading branch information
Druido87 committed Apr 25, 2016
1 parent b7ef6a1 commit df2b60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sorgente/interprete.js
Expand Up @@ -477,7 +477,7 @@ function ramificaInput(str, alt) {
inpLivelli = noDiacritici(str.toLowerCase()).split('|');
// Livello 2 (parole)
for (i1 = 0; i1 < inpLivelli.length; i1++) {
inpLivelli[i1] = inpLivelli[i1].split(/(?: |')+/);
inpLivelli[i1] = inpLivelli[i1].split(/(?: |'|’)+/);
}
if (alt == 2) {
// Livello 3 (alternative di parole)
Expand Down

0 comments on commit df2b60f

Please sign in to comment.