Re: grouping in regex

2012-12-24 Thread Rob Dixon
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); ...

Re: grouping in regex

2012-12-24 Thread Paul Johnson
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 > >

Re: grouping in regex

2012-12-24 Thread Rob Dixon
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 Web