I looked up an ASCII code table and it says that 008 & 009 are not codes for anything, so your bad character class was actually hitting the number nine.
'Works' for 008 => 8 too,
Update: Never mind, should have looked up 'octal'.
non-Perl: Andy Ford
In reply to Re: Puzzler - filtering characters
by andyford
in thread Puzzler - filtering characters
by rashley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |