Moron has asked for the wisdom of the Perl Monks concerning the following question:
Using a regexp, filter the following character types: \x08 \x09 \x0B \x0C \x20 and any symbolic character (punctuation, numbers, letters, standard symbols...) and detect whether anything is left over. I can conceive of an ugly way to do this using ranges of characters - but is that really the best?
Many thanks in advance for any suggestions,
-M
Free your mind
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing for unprintable characters
by blazar (Canon) on Nov 15, 2005 at 16:27 UTC | |
|
Re: Testing for unprintable characters
by davorg (Chancellor) on Nov 15, 2005 at 16:30 UTC | |
|
Re: Testing for unprintable characters
by Roy Johnson (Monsignor) on Nov 15, 2005 at 16:34 UTC | |
by davorg (Chancellor) on Nov 15, 2005 at 16:47 UTC | |
|
Re: Testing for unprintable characters
by thundergnat (Deacon) on Nov 15, 2005 at 16:48 UTC | |
|
Re: Testing for unprintable characters
by Moron (Curate) on Nov 15, 2005 at 16:45 UTC |