I agree that it seems a bit off but the regex in JavaScript is derived
from Perl so i can understand why he posted to this list.
- Original Message -
From: Javier Nunez [EMAIL PROTECTED]
To: perl users [EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 10:59 PM
Subject: RE: regex
I'm using an older version of Mail::BulkMail that contains a regex to
validate an e-mail address. Problem is that it only excepts 2 or 3
letters after the last dot. Nowadays we have new stuff like [EMAIL PROTECTED]
that doesn't pass this regex.
return $1 if $email =~ m
^\s*($word #any
Sorry, I'm extremely busy and sometimes just can't answer all the email
I'm
getting.
No need to excuse yourself, I understand completely. I'm a very busy man
myself ;-)
You may want to experiment with different browsers; e.g. use Mozilla or
Opera
in addition to IE. This may very well be a
Huub Peters wrote:
I'm using an older version of Mail::BulkMail that contains a regex to
validate an e-mail address. Problem is that it only excepts 2 or 3
letters after the last dot. Nowadays we have new stuff like [EMAIL PROTECTED]
that doesn't pass this regex.
return $1 if $email =~ m
I guess
\.[a-zA-Z]{2-4})\s*$
is the answer, not tested
regards
Friedel Wittrock
-Ursprüngliche Nachricht-
Von: Huub Peters [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. November 2003 09:42
An: [EMAIL PROTECTED]
Betreff: Regex in Mail::BulkMail
I'm using an older version of
Hmm, I should have RTFM:
perlre - Perl regular expressions clearly states:
{n,m} Match at least n but not more than m times
Thanks for the answers $Bill and Friedel.
Regards,
sorry,
\.[a-zA-Z]{2-4})\s*$
is wrong,
\.[a-zA-Z]{2,4})\s*$
is ok.
regards
Friedel Wittrock
-Ursprüngliche Nachricht-
Von: Huub Peters [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 6. November 2003 09:42
An: [EMAIL PROTECTED]
Betreff: Regex in Mail::BulkMail
I'm using an older
I have a script for sending emails:
my $smtp = Net::SMTP-new($smtphost, LocalAddr='192.168.1.11',
LocalPort='24');
if( defined( $smtp ) )
{
print Okay\n;
}
else
{
print Bad\n;
}
# First the envelope bits
$smtp-mail($from);
$smtp-to($to);
#
Hello,
I am trying to install Win32::Daemon::Simple, which depends on Win32::Daemon
and Win32::Console. I was able to build ppms myself from the CPAN
distributions of Win32::Daemon and Win32::Daemon::Simple, but the problem is
Win32::Console. It comes in a non-CPAN distribution zip file with an
I am learning to use XML::Parser. I am trying to pass a US Weather Service
xml file. I can successfully parse it until it dies on me with the following
error:
C:\TEMP\xmlperl weather.pl
Uncaught exception from user code:
not well-formed (invalid token) at line 14580, column 1, byte 477680 at
The reason 25 works is that your locally installed SMTP host is
listening on port 25 (probably). The port has to be configured the same
on both ends of a connection... you can kind of think of IP and port
numbers like a business telephone number with an extension. If you want
to reach Mary
That's not your problem. The error message says the XML file is not well
formed. Following your link confirms it. That file has an error in it.
The on line 485 seems to be the problem. That's not a proper entity
reference.
--
Mark Thomas[EMAIL PROTECTED]
Internet Systems
It's probably an XML error ...
could you send the line 14580 of us.xml ?
- Original Message -
From: Gary Nielson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 6:20 PM
Subject: Uncaught exception from user code with XML::Parser
I am learning to use
Thanks. The line is:
which is used throughout the file.
Here are the lines that surround that line with the line noted with -:
cap:headline
SHORT TERM FORECAST
/cap:headline
cap:description
SHORT TERM FORECAST...CORRECTED FOR FORMAT
NATIONAL WEATHER SERVICE JACKSON KY
try replace with amp;amp;
- Original Message -
From: Gary Nielson [EMAIL PROTECTED]
To: David Liouville [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 6:52 PM
Subject: RE: Uncaught exception from user code with XML::Parser
Thanks. The line is:
which is
Glenn
Thanks for the reply. The local smtp server listens on port 24. The
domain is enersave.ca. The router forwards smtp to the local machine.
So if you send an email to [EMAIL PROTECTED], you get routed through
dyndns.org where the MX records are set to port 24. When I send an email
out
I replaced it and got the same exception error on line 14634 which contains
the same .
Mmm, interesting ... Up until that point, $$ is used instead of .
-Original Message-
From: David Liouville [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 12:56 PM
To: Gary Nielson;
THIS E-MAIL CONTAINS CONFIDENTIAL AND PRIVILEGED INFORMATION
Hello all:
Has anyone ever used Time stamp for a name of a file.
I would like to create a file then Rename it to the Time stamp.
Can anyone provide me some help?
Thanks,
-Steve
This message is intended for the recipient's use
Chris Jones wrote:
Glenn
Thanks for the reply. The local smtp server listens on port 24. The
domain is enersave.ca. The router forwards smtp to the local machine.
So if you send an email to [EMAIL PROTECTED], you get routed through
dyndns.org where the MX records are set to port 24.
19 matches
Mail list logo