Subject: Re: [xsl] Split camel-case strings into words? From: "Peter Flynn peter@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 10 May 2023 22:16:18 -0000 |
On 10/05/2023 20:22, Chris Papademetrious christopher.papademetrious@xxxxxxxxxxxx wrote:
Using Martinbs better Unicode points with the lookbehind/lookaheadapproach:
tokenize('MicrosoftExchangeOnline', '(?<=\p{Ll})(?=\p{Lu})', ';j')
Thank you both; very serendipitously a requirement for this arose last night in handling camelCase element type names in the TEI :-) Most useful.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Split camel-case strings , Liam R. E. Quin liam | Thread | [xsl] Declarative Amsterdam 2023 an, Erik Siegel erik@xxx |
Re: [xsl] Split camel-case strings , Michael Kay mike@xxx | Date | Re: [xsl] Split camel-case strings , Liam R. E. Quin liam |
Month |