Hi ,
Just need a bit help..
How do i every of the + sign from my document.
its like my documnet has the words in the format as:
G+Chdgf {every line has only word in it}
HC4+
+djd
hffd+hdd
how do i remove the + signs from these......?
Can you help me out
On 4/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
hi amit --In a message dated 4/5/2006 12:31:43 A.M. Eastern Standard Time, [EMAIL PROTECTED] writes:> Hi ,
> I was just tryin the document and word matrix...but i dont know its alwasy
> givin me an error as :
>
> Quantifier follows nothing before HERE mark in regex
> m/+ << HERE /-/ at C:\perl\bin\test\NEW_TE~2.PL line 92, <FL> line 1.
the quantifier in question is the ``+'' at the very beginning of the regex.this is a regex metacharacter meaning ``one or more of the preceding pattern element''.because it is at the very beginning of the regex, there is nothing before it for there to beone or more of.if you want to match a literal ``+'' (plus sign), precede it with a backslash:m(\+ - \* /)(note that ``*'' is also a quantifier metacharacter.)hth -- bill walters
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
