Re: [xsl] Analyzing text by extracting substrings that match regex patterns

Subject: Re: [xsl] Analyzing text by extracting substrings that match regex patterns
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Mar 2025 23:31:25 -0000
On Thu, 2025-03-13 at 22:01 +0000, Roger L Costello costello@xxxxxxxxx
wrote:
>
> In my opinion, SNOBOL provides a superior solution to the task of
> extracting the substring of TEXT that matches PATTERN.

This is not really a surprise - SNOBOL was a pattern matching language.

On the other hand, trying to navigate XML documents in SNOBOL would be
harder than with XPath...

But for sure it can be useful and enlightening to explore other
languages and learn from them.

liam

--
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org

Current Thread