function or operator to ignore metacharacters like +
- From: kelly <kelly@xxxxxxxx>
- Date: Tue, 03 Jan 2006 14:50:13 -0500
Hi, I have this line that I have problem with..
s/$tmpvar//mgi;
The problem is sometimes $tmpvar = "annotationmarking +", with metacharacters. Is there a regx option or perl function that ignores metacharacter. Or should I go ahead and parse my input for metacharacters and add a \ infront of it.
Thanks.
JP
.
- Prev by Date: Re: editing a file using perl script
- Next by Date: Finding and replacing Invalid Tokens in an XML document
- Previous by thread: editing a file using perl script
- Next by thread: Finding and replacing Invalid Tokens in an XML document
- Index(es):