Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: (GOLF) - multiple digit finder regex - 17 chars

by particle (Vicar)
on Feb 03, 2002 at 04:39 UTC ( [id://143021]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: (GOLF) - multiple digit finder regex - 17 chars
in thread regexp golf - homework

(\1 on the right hand side of a substitution, with the same meaning as $1, has been deprecated for quite some time.)

yeah. that's how i was used to seeing \1. from people learning perl who are used to vi, ex, etc. on the right hand side, it's a no-no.

although, there's a problem with the explanation of your first example. $1 can't hold 'c', it's nowhere to be found. but i understand the difference now. docs are good.

~Particle

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found