fixed regex-pattern to accept uppercase