Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Regular expression

by Anonymous Monk
on Oct 30, 2012 at 05:28 UTC ( #1001456=note: print w/replies, xml ) Need Help??

in reply to Regular expression

But didnt understand the meaning of regular expression totally..Please help

What did you understand?

Replies are listed 'Best First'.
Re^2: Regular expression
by Anonymous Monk on Oct 30, 2012 at 06:11 UTC
    For split i understood that the data is splitted based on "|" .For eg : abc |efg abc and efg are obtained.but didnt understood y $-,2 and grep are used along with that.Plz explain
      um, see split, first argument is regular expression, the other arguments are string to split, and the limit

      the grep is used to skip empty lines

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001456]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-03-30 06:00 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (353 votes). Check out past polls.