File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1414import  time 
1515import  locale 
1616import  calendar 
17- from  re  import  A  as  re_A 
1817from  re  import  compile  as  re_compile 
1918from  re  import  sub  as  re_sub 
20- from  re  import  IGNORECASE 
19+ from  re  import  IGNORECASE ,  ASCII 
2120from  re  import  escape  as  re_escape 
2221from  datetime  import  (date  as  datetime_date ,
2322                      timedelta  as  datetime_timedelta ,
@@ -381,7 +380,7 @@ def repl(m):
381380
382381    def  compile (self , format ):
383382        """Return a compiled re object for the format string.""" 
384-         return  re_compile (self .pattern (format ), IGNORECASE  |  re_A )
383+         return  re_compile (self .pattern (format ), IGNORECASE  |  ASCII )
385384
386385_cache_lock  =  _thread_allocate_lock ()
387386# DO NOT modify _TimeRE_cache or _regex_cache without acquiring the cache lock 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments