Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: regular expression

by AnomalousMonk (Canon)
on Feb 28, 2010 at 05:57 UTC ( #825737=note: print w/ replies, xml ) Need Help??


in reply to Re: regular expression
in thread regular expression

s/^.*\/\d+.//g

I don't understand the purpose of the /g regex modifier in the above regex.


Comment on Re^2: regular expression
Download Code
Replies are listed 'Best First'.
Re^3: regular expression
by McDarren (Abbot) on Feb 28, 2010 at 06:04 UTC
    heh.. it serves no purpose whatsoever.
    I'll remove it. Not quite sure what I was thinking about there :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://825737]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2016-02-06 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (225 votes), past polls