docs: def parse_truckers(parts):
    """
      Parse for phrases that indicate a form of "trucker friendly".
        parts -> The backpage ad's posting_body, separated into substrings
      Returns a tuple containing:
        [0]: Binary result of whether or not ad is trucker-friendly
        [1]: The input strings, minus the sections indicating trucker-friendly
    """
  
    match_terms = ['truck', 'cabs', 'flying j']
    match_patterns = [r'exit /d{1,4}', r'interstate /d{0,3}', r'i-/d/d?/d?', r'iowa ?80']
  
    output_val = 0
    output_parts = []
    for p in parts:
      part = p
      if any(term in part for term in match_terms):
        # found trucker string
        output_val = 1
        for term in match_terms: 
          # remove matched term
          part = part.replace(term, '')
      else:
        # check for trucker patterns
        for patt in match_patterns:
          found = re.search(patt, part)
          if found != None:
            # found match pattern
            output_val = 1
            part = re.sub(patt, '', part) # remove matched term
  
      if len(part) > 2:
        output_parts.append(part)
  
    return (output_val, output_parts)