
Jean
User

Jul 18, 2002, 12:14 AM
Post #2 of 14
(5433 views)
|
Re: [Zisu] Getting values in the middle of the line
[In reply to]
|
Can't Post
|
|
Try this: [perl]my ($res1, $idx1, $idx2); ($res1, $idx1, $idx2) = $str =~ /MSB-.+?-at-.+?-set(\([025][Uu]?\))_(\(\d+\))_(\(\d+\))/; print "$res1 -- $idx1 -- $idx2\n"; [/perl]
Jean Spector SQA Engineer @ Exanet jean.spector@softhome.net There are only 10 types of people in the world - Those who understand binary, and those who don't.
(This post was edited by Jean on Jul 18, 2002, 12:15 AM)
|