Fix for test_bn regular expression to work on Windows using MSYS. PR#3346