On Thu, Feb 10, 2022 at 11:21:07PM -0500, Viktor Dukhovni 
<postfix-us...@dukhovni.org> wrote:

> > On 10 Feb 2022, at 11:17 pm, raf <post...@raf.org> wrote:
> > 
> > But I still don't see why it was only the second
> > replacement index that was out of range, and not the
> > first as well.
> 
> https://sciencing.com/what-is-a-counterexample-in-algebra-12750822.html
> ...
> One Counterexample Is Sufficient
> 
> -- 
>       Viktor.

Sorry, I shouldn't have said "as well".
Maybe I should have said "instead".

I meant that I assume that the subject of an error
message would be the first instance of an error. I'd
expect a single error message, just not the one that
was reported. I was assuming that things are processed
left to right (patterns, input, FSAs etc.), and so I
expect the first instance of the error to be relating
to $1, not $2. It's just not what I'm used to with
regex syntax error messages. It made it look to me as
though $1 was fine. But it's not important. I'm sure
there's a reason for it.

cheers,
raf

Reply via email to