(?x)applies the following effective flags to the remainder of the pattern: gmix x modifier: extended. Ignores unescaped whitespace and comments outside character classes
Comment: ignora isso é para aceitar multi linha e comentario
^start of line
Comment: inicio
Positive Lookahead(?=.*?[a-z]) .*?any character (except for line terminators), repeated any number of times
a-zone character from a (9710) to z (12210) (case insensitive)
Comment: procura por caracteres `a` atá `z` pelo menos 1
Positive Lookahead(?=(?:.*?\d){9}) Non-Capturing Group(?:.*?\d){9} {9}repeats the group contents below exactly 9 times:
.*?any character (except for line terminators), repeated any number of times
\da digit
Comment: procura por 9 digitos
Character Class[a-z\d ]{12,} {12,}matches at least 12 characters from the set below:
a-zone character from a (9710) to z (12210) (case insensitive)
\da digit
the literal (3210 / 408 / 2016)
Comment: tem que ter 12 digitos ou mais entre `a` e `z` numeros e espaços
$end of line
Comment: fim
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters