Added missing regex tags at the end, fixed variable name, and erased an unnecessary space at the end of some of the test strings.
Added missing regex tags at the end, fixed variable name, and erased an unnecessary space at the end of some of the test strings.