switch to sorted_match_list

This improves performance a bit
remove not needed for-loop

This also speed this up quite a bit.
Paths for Windows should contain valid backlashes number even
without substitution.
add exception handling for C cal
remove regex option from python method

This is not needed because if regex mode is on we will return
before calling python method.