I limit the length here in the regular. why can I still match?

ss=re.findall("(.*?|{5,10})","")
ss
[""]-sharp-sharp-sharp 

I limit the length from 5 to 10, but Beijing Zhenxin Aihe Technology Co., Ltd. here is 12 lengths? Why is that?

Dec.12,2021

there is something wrong with this rule.

(. *? Co., Ltd. | Co., Ltd. {5jc10} )

. *? Co., Ltd. has matched Beijing Zhenxin Aihe Technology Co., Ltd.

just try

ss=re.findall('(.*?)','')

in addition:
Limited liability company {5pm 10} this also has a problem
this match limited liability company 5-10 companies

what exactly are the limitations of your {5J 10} ?


is equivalent to

Department {5pm 10}
Menu