By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,718 Members | 1,383 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,718 IT Pros & Developers. It's quick & easy.

regular expression question

P: n/a
In the following regular express
$_="BCADeFGHIJKL";
if (/\L[\w]\E/) { print "true"} else { print "false\n" };
if (/\U[\w]\E/) { print "true"} else { print "false\n" };

why the first one print true while the second one print false?
Can someone explain \L \U?
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.