http://qs321.pair.com?node_id=588117


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