It would. This way is far more abrangent. But \d+ would solve too.