
1arryb
User
Apr 15, 2009, 8:34 AM
Post #2 of 2
(1356 views)
|
|
Re: [kapila] Pattern matching for repeated pattern
[In reply to]
|
Can't Post
|
|
Hi kapila, Not sure what you're asking for, but: If you are looking for all of the words after "FILES CHECKED IN: ", try:
... $var =~ s/FILES CHECKED IN: //; my @files = split(/\s+/, $var); You only need tricky regular expressions if any of the "words" contain embedded whitespace. Cheers, Larry
|