Re: [xsl] How to tokenize a string that contains space-delimited tokens and a quoted string that must not be tokenized?

Subject: Re: [xsl] How to tokenize a string that contains space-delimited tokens and a quoted string that must not be tokenized?
From: "Chris Papademetrious christopher.papademetrious@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Nov 2022 11:23:35 -0000
Hi Martin,

That is a slick solution.

 - Chris

-----Original Message-----
From: Martin Honnen martin.honnen@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, November 28, 2022 9:47 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] How to tokenize a string that contains space-delimited
tokens and a quoted string that must not be tokenized?

XPath 3:

analyze-string('if machine = "Intel 386 or later processors and compatible
processors" then ground', '"[^"]*"|\S+')/*:match/string()

Current Thread