Library name a la SRFI 97, submatch disambiguation Daphne Preston-Kendal (18 Oct 2024 14:09 UTC)
Re: Library name a la SRFI 97, submatch disambiguation Lassi Kortela (18 Oct 2024 15:59 UTC)
Re: Library name a la SRFI 97, submatch disambiguation Arthur A. Gleckler (19 Oct 2024 05:29 UTC)
Re: Library name a la SRFI 97, submatch disambiguation Alex Shinn (19 Oct 2024 14:06 UTC)
Re: Library name a la SRFI 97, submatch disambiguation Alex Shinn (21 Oct 2024 01:07 UTC)
Re: Library name a la SRFI 97, submatch disambiguation Arthur A. Gleckler (23 Oct 2024 21:18 UTC)
Re: Library name a la SRFI 97, submatch disambiguation Alex Shinn (24 Oct 2024 00:36 UTC)

Re: Library name a la SRFI 97, submatch disambiguation Lassi Kortela 18 Oct 2024 15:59 UTC

> The SRFI metadata has assigned SRFI 115 the library name ‘regex’.
> I assume this is based on the name it was given by John Cowan for the
> warm-coloured ‘editions’ of R7-large. However, this was an error,
> because ‘regexp’ is the abbreviation consistently used in the library
> itself.

> chez-srfi does indeed call it (srfi :115 regexp), which seems sensible.
> But this should be made official, ideally.
> Or it should be called (srfi :115 regexps), due to the plural convention
>   for these names.

Context: https://groups.google.com/g/scheme-reports-wg2/c/fMwLGtMavHY

To quote John's answer: "I suppose so, at least as alternatives."

> Also, in the general case, the library names assigned by John do not have anything to do with R6RS library names, because e.g. the convention is that R7RS library names are singular and R6RS ones are plural. (Sigh.)

Consistent library naming conventions would be very welcome, but I'd
advise saving that effort until a late stage in the standardization
process. The reason being that it's in large part a R6 vs R7 issue.

Until there is a critical mass of people actively solving the 6/7 split,
it will be difficult to establish either singular or plural as the norm.
Some divergence and back-and-forth renaming is likely to occur.

On a statistical basis, RnRS choosing plural would necessitate the least
amount of renaming/aliasing: only for (scheme char) and (scheme file).