Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Re (tilly) 2: Golf challange: match U.S. State names

by MeowChow (Vicar)
on Jun 06, 2001 at 03:54 UTC ( #86072=note: print w/ replies, xml ) Need Help??


in reply to Re: Re (tilly) 2: Golf challange: match U.S. State names
in thread Golf challange: match U.S. State names

Not so, the regex returns matches in pairs, ie:

@list = 'foobarbazo' =~ /../g; # sets @list to ('fo','ob','ar','ba',' +zo')
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print


Comment on Re: Re: Re (tilly) 2: Golf challange: match U.S. State names
Download Code
Replies are listed 'Best First'.
Re: Re: Re: Re (tilly) 2: Golf challange: match U.S. State names
by cforde (Monk) on Jun 06, 2001 at 19:21 UTC
    Aaahhhh, I see. That's what I get for not testing it first.

    Have fun,
    Carl Forde

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-07-31 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls