> -----Original Message----- > From: Rob Dixon [mailto:rob@dixon.nildram.co.uk] > Sent: Tuesday, April 29, 2003 7:38 PM > To: beginners@perl.org > Subject: Re: Escaping @ symbol inside a regular expression > > > Raja Kasinathan wrote: > > As Sudarshan Raghavan told > > s/(^|\s)\@interrupt\b//gi; works. > > > > Thanks to the group for providing the solution. > > Raja. > > This will remove the whitespace character before > your string as I said in another post. This: > > s/(^|\s)\@interrupt\b/$1/gi > > will put it back again! > Thanks a lot Rob!. That fixed the whitespace removal problem. Cheers, Raja > > > > > -- > To unsubscribe, e-mail: beginners-unsubscribe@perl.org > For additional commands, e-mail: beginners-help@perl.org > > **************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************Thread Previous | Thread Next