anchor.diff:  
   :MAIN
   rem create filter list, append "/" to end of each xpath for exact/subdir match
  -set SED_FILTER_PREFIX_CMD_LINE=-e "/^#/ !{ /[^\/]\[@/ { s/\([^\/]\)\[@/\1\/[@/; }; /\/\[@/ !{ /[^[[:space:]]]/ { /\/$/ !{ s/$/\//; } } } }"
  +if %FLAG_IGNORE_PROPS% NEQ 0 (
  +  set SED_FILTER_PREFIX_CMD_LINE=-e "/^#/ !{ /[^\/]\[@/ { s/\([^\/]\)\[@/\1\/[@/; }; /\/\[@/ !{ /[^[[:space:]]]/ { /\/$/ !{ s/$/\//; } } }; /\[@.*/ { s/\[@.*//; } }"
  +) else (
  +  set SED_FILTER_PREFIX_CMD_LINE=-e "/^#/ !{ /[^\/]\[@/ { s/\([^\/]\)\[@/\1\/[@/; }; /\/\[@/ !{ /[^[[:space:]]]/ { /\/$/ !{ s/$/\//; } } } }"
  +)
   if %FLAG_EXACT% NEQ 0 (
     set "SED_FILTER_SUFFIX_CMD_FILE=convert_xpath_filter_list_to_flat_findstr_pttn_exact_list.sed"
   ) else (
  
positive.code: rem      and 4th lines will be filtered, otherwise - from 3d to 6th.
  rem      If filter is "/tag1/tag2[@val=VALUE]", then exactly 4th
  rem      line will be filtered no matter does flag set or not.
  
  rem Drop last error level
  cd .
  
negative.code: 
  rem script flags
  set FLAG_EXACT=0
  set FLAG_IGNORE_PROPS=1
  
  :FLAGS_LOOP
  
  