Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Chris Sendall
June 24, 2005, 3:44 pm
rate this thread
Recent upgrade to linux server (and move to perl 5.8.0) seem to have
broken regexp recognition of a string of text to be an e-mail address
This test program demonstrates the problem
$_ = 'email@example.com';
print "text is $_\n";
print "Matches /^[\w .\@-]+$/ \n" if /^[\w.@-]+$/;
print "Matches /^[\w .\\@-]+$/ \n" if /^[\w.\@-]+$/;
[\w.@-] used to work now I need to add \ before @
Am I correct in thinking this is a bug.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum