Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Problem with regex ...

by johngg (Abbot)
on Dec 26, 2012 at 18:07 UTC ( #1010413=note: print w/replies, xml ) Need Help??

in reply to Problem with regex ...

Your data appears to be tabular in fixed-width columns so consider using unpack rather than regular expression captures. See pack for a description of how to construct a template to extract your data items.



Replies are listed 'Best First'.
Re^2: Problem with regex ...
by LanX (Bishop) on Dec 26, 2012 at 18:25 UTC
    Hei JohnGG

    Better don't spend your time repeating this, we already preached it!

    And the OP got brilliant answers with excellent code snippets. =)

    --> How we can do regex of this?

    @xMiDgArDx: please clarify your problem better, and use code tags there too. And in the future please link to older discussions about the same topic to avoid loss of energy.

    Cheers Rolf

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010413]
[Discipulus]: good thread LanX! I completely missed it

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2018-03-19 11:40 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (239 votes). Check out past polls.