File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ def _define_regex_filter(
153153 patterns .extend (cli_utils .user_term_to_pattern (word ).pattern for word in words )
154154
155155 # combine into one big compiled pattern
156- patterns = re .compile ("|" .join (patterns ))
156+ patterns = re .compile ("|" .join (patterns ), re . IGNORECASE )
157157
158158 async def res_filter (codebook : deid .Codebook , resource : dict ) -> bool :
159159 try :
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ async def test_selection_by_search(self):
253253 self .mock_response ()
254254 self .mock_response ()
255255 await self .run_etl (
256- "--select-by-word=doc2 " , # hits one docref
256+ "--select-by-word=DOC2 " , # hits one docref
257257 "--select-by-word=do" , # hits none
258258 "--select-by-regex=d.4" , # hits one dxreport
259259 )
You can’t perform that action at this time.
0 commit comments