N. Ganesh Babu [NGB], on Monday, July 04, 2005 at 12:32 (+0530) typed the following:
NGB> $line=~s!\(([1-9]{1,3}((, NGB> |\\p=n-\\)[1-9]{1,3})*)\)!\(@{[map"<lr=C$_>$_</lr>",split"(, NGB> |\\p=n-\\)",$1]}\)!g; NGB> I am getting the following error: NGB> Unmatched ( in regex; marked by <-- HERE in m/( <-- HERE , |\p=n-\)/ at NGB> s.pl line 8. I will not decode your regexp, but I think you should escape "(", as you did just before map function. -- How do you protect mail on web? I use http://www.2pu.net ["Ah, Ponch and John are calling..." -- Mike Nelson] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>