Fixed Pattern problem with $ sign
Empty String Patterns still not working as expected however