Project

General

Profile

Bug #11038

Updated by nobu (Nobuyoshi Nakada) about 9 years ago

the following regexp seems to loop 
 `/^([A-Z0-9_%+-]+\.?)+[^.]@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i` /^([A-Z0-9_%+-]+\.?)+[^.]@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i 

 with "ec-mat-charles-perrault-voves-28@ac-orleans-tours" 

 you can test with:  

 ~~~ruby 
  
 'ec-mat-charles-perrault-voves-28@ac-orleans-tours' =~ /^([A-Z0-9_%+-]+\.?)+[^.]@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i 
 ~~~

Back