Skip to content

Commit

Permalink
Evita interpretação de inciso com algarismo romano com letra minúscula
Browse files Browse the repository at this point in the history
  • Loading branch information
juliomelo committed Feb 22, 2024
1 parent 501fe39 commit e7eb0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpretadorArticulacao.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function parseTexto(textoOriginal) {
}
}, {
item: 'inciso',
regexp: /^\s*([IXVDLM]+)\s*[-–).]\s*(.+)/i,
regexp: /^\s*([IXVDLM]+)\s*[-–).]\s*(.+)/,
onMatch: function (contexto, m) {
var item = new Inciso(m[1], m[2]);
var container = contexto.getUltimoItemTipo([Artigo, Paragrafo]);
Expand Down

0 comments on commit e7eb0bc

Please sign in to comment.