imdebamrita commited on
Commit
a969444
1 Parent(s): 5a64492

update in regex

Browse files
Files changed (1) hide show
  1. preprocessor.py +2 -2
preprocessor.py CHANGED
@@ -1,8 +1,8 @@
1
  import re
2
  import pandas as pd
3
 
4
- pattern_12 = '\d{1,2}\/\d{1,2}\/\d{1,2},\s\d{1,2}:\d{1,2}\s[a,m,p]+\s-\s'
5
- pattern_24 = '\d{1,2}\/\d{1,2}\/\d{1,2},\s\d{1,2}:\d{1,2}\s-\s'
6
  pattern_ph_num = '\d{1,2} \d{5} \d{5}'
7
 
8
  def checker(data):
 
1
  import re
2
  import pandas as pd
3
 
4
+ pattern_12 = '\d{1,2}\/\d{1,2}\/\d{2,4},\s\d{1,2}:\d{1,2}\s[a,m,p]+\s-\s'
5
+ pattern_24 = '\d{1,2}\/\d{1,2}\/\d{2,4},\s\d{1,2}:\d{1,2}\s-\s'
6
  pattern_ph_num = '\d{1,2} \d{5} \d{5}'
7
 
8
  def checker(data):