Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re (tilly) 1: U.S. State Names

by merlyn (Sage)
on Feb 26, 2001 at 20:50 UTC ( #60888=note: print w/replies, xml ) Need Help??


in reply to Re (tilly) 1: U.S. State Names
in thread U.S. State Names

Which would be the same as split /\s{2,}/, ..., right?

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re (tilly) 3: U.S. State Names
by tilly (Archbishop) on Feb 26, 2001 at 21:19 UTC
    Right down to the number of characters.

    I find \s\s+ slightly more obvious than \s{2,} but that is entirely a matter of taste.

    *shrug*

    (Something tells me that there is a remote chance that Ilya treats the {2,} construct as more complex, falls into a general case, and might not always optimize it as well. If you ask him, please tell me the answer.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2023-03-21 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?