On Mon, Dec 24, 2012 at 08:01:11PM +, Rob Dixon wrote:
On 24/12/2012 13:08, Paul Johnson wrote:
On Sun, Dec 23, 2012 at 06:57:38PM +0530, punit jain wrote:
I am seeing which lines have both POP and Webmail as below :-
if( $line =~ /AccessModes\s*=\s*.*(WebMail)*.*(POP).*(WebMail)*.*/ ) {
On 23/12/2012 13:27, punit jain wrote:
Hi,
I am doing grouping but seeing some weird behavior :-
the strings in a file are like :-
AccessModes =
(18,Mail,POP,IMAP,PWD,WebMail,WebSite,Relay,Mobile,FTP,MAPI,TLS,LDAP,WebCAL);
...
.
multiple lines
I am seeing which lines have both POP and
On Sun, Dec 23, 2012 at 06:57:38PM +0530, punit jain wrote:
Hi,
I am doing grouping but seeing some weird behavior :-
the strings in a file are like :-
AccessModes =
(18,Mail,POP,IMAP,PWD,WebMail,WebSite,Relay,Mobile,FTP,MAPI,TLS,LDAP,WebCAL);
...
.
multiple lines
I am seeing
On 24/12/2012 13:08, Paul Johnson wrote:
On Sun, Dec 23, 2012 at 06:57:38PM +0530, punit jain wrote:
Hi,
I am doing grouping but seeing some weird behavior :-
the strings in a file are like :-
AccessModes =
(18,Mail,POP,IMAP,PWD,WebMail,WebSite,Relay,Mobile,FTP,MAPI,TLS,LDAP,WebCAL);
...
Hi,
I am doing grouping but seeing some weird behavior :-
the strings in a file are like :-
AccessModes =
(18,Mail,POP,IMAP,PWD,WebMail,WebSite,Relay,Mobile,FTP,MAPI,TLS,LDAP,WebCAL);
...
.
multiple lines
I am seeing which lines have both POP and Webmail as below :-
if( $line =~
On Sun, Dec 23, 2012 at 8:27 AM, punit jain contactpunitj...@gmail.com wrote:
Hi,
I am doing grouping but seeing some weird behavior :-
the strings in a file are like :-
AccessModes =
(18,Mail,POP,IMAP,PWD,WebMail,WebSite,Relay,Mobile,FTP,MAPI,TLS,LDAP,WebCAL);
...
.
multiple lines
Shouldn't that *.** be *.*? *to avoid having it consume everything?
On Sun, Dec 23, 2012 at 10:01 AM, Ken Slater kenslate...@gmail.com wrote:
On Sun, Dec 23, 2012 at 8:27 AM, punit jain contactpunitj...@gmail.com
wrote:
Hi,
I am doing grouping but seeing some weird behavior :-
the
Danny Gratzer wrote:
Shouldn't that *.** be *.*? *to avoid having it consume everything?
It is not clear exactly which *.** you are referring to however a
non-greedy match does not necessarily consume less than a greedy match.
John
--
Any intelligent fool can make things bigger and
more
For this error, try something like this:
Take note of any regex changes that you were advised in other emails
if ( $line =~ /AccessModes\s*=\s*.*(WebMail)*.*(POP).*(WebMail)*.*/ ) {
if (defined $2 $2 $1 ) {
print $2 . . $1 . $line . \n;
}
}
Make sure that $2 is initialized.
it might be better to use a named capture here since you're expecting
certain things and then you don't have to do if defined.
On Sun, Dec 23, 2012 at 5:43 PM, Zachary Bornheimer z...@chary.me wrote:
For this error, try something like this:
Take note of any regex changes that you were advised
10 matches
Mail list logo