|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re^3: Capitalize First Letter of Each Wordby fishbot_v2 (Chaplain) |
| on Jun 30, 2005 at 09:54 UTC ( [id://471316]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
It does, except it doesn't work:
Two things are happening here: The first is that this requires each word to be two characters or more (so it fails on the initial "a"). The second is that the . can match a space, so " sTrinG" fails because \1 contains a space. I suggest
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||