Re: sxml-match bad pattern syntax

2021-12-28 Thread tomas
On Tue, Dec 28, 2021 at 04:21:39AM -0500, Thien-Thi Nguyen wrote: > > () > () Tue, 28 Dec 2021 09:28:32 +0100 > >> Ah, right! The ellipses are a tail that need to follow a >> head. > >No, the ellipses tell the matcher that the symbol to its left [...] > I think we're saying the s

Re: sxml-match bad pattern syntax

2021-12-28 Thread Thien-Thi Nguyen
() () Tue, 28 Dec 2021 09:28:32 +0100 > Ah, right! The ellipses are a tail that need to follow a > head. No, the ellipses tell the matcher that the symbol to its left acutally stands for "zero or more of this". Consequently, you have to somehow [1] use those ellipses on the righ

Re: sxml-match bad pattern syntax

2021-12-28 Thread tomas
On Tue, Dec 28, 2021 at 02:58:56AM -0500, Thien-Thi Nguyen wrote: > > () > () Tue, 28 Dec 2021 08:19:04 +0100 > >I /think/ the ellipsis is at a wrong place there [...] > Haha, i know exactly how you feel. %-) > Ah, right! The ellipses are a tail that need to follow a head. No, the ellip

Re: sxml-match bad pattern syntax

2021-12-27 Thread Thien-Thi Nguyen
() () Tue, 28 Dec 2021 08:19:04 +0100 I /think/ the ellipsis is at a wrong place there. Note that I'm coming from "traditional" match, and I just have wrapped half of my brain around that (which, BTW, is somewhat painful :-) Haha, i know exactly how you feel. So take this with a

Re: sxml-match bad pattern syntax

2021-12-27 Thread tomas
On Tue, Dec 28, 2021 at 01:21:31AM -0500, Thien-Thi Nguyen wrote: > > In an effort to join the current millennium, :-) > i have started to > play w/ Guile 2.x's SXML facilities. Good stuff! I've run into > a problem, however, and hope i can get help

sxml-match bad pattern syntax

2021-12-27 Thread Thien-Thi Nguyen
In an effort to join the current millennium, i have started to play w/ Guile 2.x's SXML facilities. Good stuff! I've run into a problem, however, and hope i can get help resolving it here. The following small program attempts to use ‘sxml-match’ to remove an unwanted attribute from a (well-form