Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(art\.?|artigos?) ([0-9.]{1,7}).{1,20}?(§ ?\d{1,3})?.{1,20}?(CPC|CPP|C[oOÓó]digo de Processo Penal|C[oOÓó]digo de Processo Civil|C[oOÓó]digo Penal|CP(?!C)|CPC|Lei de Execuções Penais|Constituição da República|[0-9]{1,3}.[0-9]{3}(\/[0-9]{2,4})?)
"
gm

Description

no description available

Submitted by anonymous - 5 years ago