On Thu, 2008-07-24 at 09:44 -0400, Tony Heal wrote:
> I have a text dump of a postgresql database and I want to find out if there
> are any characters that are not standard keyboard characters. Is there a way
> to use regex to do this without doing a character by character scan of a 5GB
> file. 

No.

> I want to know where any character that is not one of these is in the
> file: a-z A-Z 0-9 [EMAIL PROTECTED] <mailto:[EMAIL 
> PROTECTED]&*()[]{};:'",.<>/?|\>
> &*()[]{};:'",.<>/?|\


See `perldoc POSIX` and search for 'isalpha'


-- 
Just my 0.00000002 million dollars worth,
  Shawn

"Where there's duct tape, there's hope."

"Perl is the duct tape of the Internet."
        Hassan Schroeder, Sun's first webmaster


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to