Bugfix

Fixed bug with incorrect comparision operator in testing regex.