shylaja has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I have a piece of data which looks something like this,
-----------------------------------------------------------
ISSUE ABCDE00078945
-----------------------------------------------------------
Summary : summary about the issue
Component : Component desscription
Product : Product name
Version : Version number
Date : 2013-10-15
-----------------------------------------------------------
ISSUE ABCDE00012345
-----------------------------------------------------------
Summary : summary about the issue
Component : Component description
Product : Product name
Version : Version number
Date : 2014-10-15
The above pattern will be containing special characters.
Each set of "ISSUE" i e.,
-----------------------------------------------------------
ISSUE ABCDE00078945
-----------------------------------------------------------
Summary : summary about the issue
Component : Component desscription
Product : Product name
Version : Version number
Date : 2013-10-15
should be parsed in an iteration. I am using the pattern,
where $text will be having the above mentioned data. But the script is not returning the issue set. Is there something wrong in the pattern?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: matching characters
by Athanasius (Archbishop) on Sep 03, 2014 at 07:16 UTC | |
by hdb (Monsignor) on Sep 03, 2014 at 08:57 UTC | |
by shylaja (Initiate) on Sep 04, 2014 at 07:02 UTC | |
|
Re: matching characters
by McA (Priest) on Sep 03, 2014 at 06:59 UTC |