[Home] [By Thread] [By Date] [Recent Entries]
Hi Andy, I don't understand regex, so I could not have composed these expressions. Do any of these test only the first letter of a word? Thanks for your help, Mark -----Original Message----- From: Houghton,Andrew Sent: Thursday, November 03, 2011 9:00 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: Testing for upper and lower case What's wrong with matches($text, '^\p{Lu}+$') matches uppercase, matches($text, '^\p{Ll}+$') matches lowercase, matches($text, '^\p{lu}\p{ll}+$') matches capital case. In the latter case you might also be able to use matches($text, '^\p{Lt}+$'). Andy. -----Original Message----- From: Mark [mailto:mark@xxxxxxxxxxxx] Sent: Thursday, November 03, 2011 11:56 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Testing for upper and lower case
|

Cart



