There is no such thing :)
Considering that most peopel don't throw binary data into their input and that chomping is done, /^\d$/ will work properly. And it is way more readable/familiar that /\A\d\z/. But you have a point.:)
In reply to Re: •Re: Checking for single digit
by TVSET
in thread Checking for single digit
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |