Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by MeowChow (Vicar)
on Jun 06, 2001 at 03:54 UTC ( [id://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

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://86072]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-20 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found