converted pattern to [0-9a-zA-Z] for clarity's sake