Hi John,
Thank you very much for your help. As I remember this is the 4th
question you have answered to me. Thanks once again.
Regards,
Ganesh
John W. Krahn wrote:
N. Ganesh Babu wrote:
Dear All,
Hello,
My test is as follows:
$line = "jlla jldsfjlfj lfla (1\p=n-\5) fk (2) ljljj ljlf
N. Ganesh Babu wrote:
Dear All,
Hello,
My test is as follows:
$line = "jlla jldsfjlfj lfla (1\p=n-\5) fk (2) ljljj ljlfaufi lfjlakfh
(10, 11) lfjdlaj (10, 11\p=n-\15) ndsfdjksnk (2, 15, 16) dkhfak";
Backslashes are interpolated in double quoted strings. Perhaps you meant to
escape the
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"$_",split"(,
NGB> |\\p=n-\\)",$1]}\)!g;
NGB> I am getting the following error:
NGB> Unmatched ( in regex; marked by <-- HERE in m/( <-- HE