View Single Post
Old 06-10-2012, 05:34 PM   #6
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 473
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by mmat1 View Post
Would you please explain:
\p
{Lu}

I looked in my books and in the Python-doc, but i didn't find those two parts of the statement.
sorry for the double post, but from what I was able to gather from here, the \p{} expression matches all unicode characters of a particular class. In this case, the {Lu} is for matching lowercase letters.
ElMiko is offline   Reply With Quote