* fix issue for using patterns other than [0-9]