Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Stumped by regex

by bsdz (Friar)
on Dec 06, 2006 at 15:40 UTC ( [id://588117]=note: print w/replies, xml ) Need Help??


in reply to Re: Stumped by regex
in thread Stumped by regex

Except: -
'David George' =~ m/^(?=.{1,20}\Z)[a-z]+(?:\s[a-z]+)?$/i;
does not return 'George'?

Replies are listed 'Best First'.
Re^3: Stumped by regex
by JediWizard (Deacon) on Dec 06, 2006 at 15:58 UTC

    I guess I didn't realize he needed it too... But that is only a two character change.


    They say that time changes things, but you actually have to change them yourself.

    —Andy Warhol

Log In?
Username:
Password:

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

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

    No recent polls found