Ekspresi reguler untuk memungkinkan jumlah karakter spesifik Python

#{6,} At least 6 occurrences;
#{,4} At most 4 occurrences;
#{2,5} 2 to 5 occurrences.
Inquisitive Ibex