(s)
| 146 | """ |
| 147 | |
| 148 | def match_target(s): |
| 149 | if field is None: |
| 150 | return s |
| 151 | parts = s.split() |
| 152 | try: |
| 153 | tgt = parts[field] |
| 154 | return tgt |
| 155 | except IndexError: |
| 156 | return "" |
| 157 | |
| 158 | if isinstance(pattern, str): |
| 159 | pred = lambda x : re.search(pattern, x, re.IGNORECASE) |
nothing calls this directly
no outgoing calls
no test coverage detected