You can use the [:punct:] character class (see perlre)
perl -e ' for(0..255){ print chr($_) if chr($_)=~/[[:punct:]]/; } 'output:
!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~In reply to Re: Char range
by fglock
in thread Char range
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |