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

Subject: Re: [xsl] Analyzing text by extracting substrings that match regex patterns
From: "russurquhart1@xxxxxxxxxxx russurquhart1@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Mar 2025 22:43:25 -0000
I missed the first part of this thread, so I need to look back at that.B 
Snobol matches what it calls patterns which are different from regular
expressions. And I think up until recently, regular expressions have only just
now caught up with the expressiveness of pattern matching. But thatbs just
my opinion.Depending upon the format of the text that you want to extract text
From, SnobolB may be very good, XLTbs may be very good. Ibve used both
depending upon the circumstances that I was in. If I was attempting to scan an
alter an XML file, I would write an XSLT. If this was a simple text file or a
simple XML file, I could write a SnobolB program to do that as well.In my
opinion, and the years that Ibve worked with converting text, I always like
to keep a toolbox of a set of tools and try and pick the best tool for the
job. But thatbs just my two cents!

Sent from the all new AOL app for iOS


On Thursday, March 13, 2025, 5:12 PM, John Lumley john@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

If you think SNOBOL provides a superior solution, why donbt you just use a
current implementation of SNOBOL for that step?

John Lumley
Sent from my iPad

> On 13 Mar 2025, at 22:01, Roger L Costello costello@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> In my opinion, SNOBOL provides a superior solution to the task of extracting
the substring of TEXT that matches PATTERN.

Current Thread