Added for tests for Regex class