mikehaertel / minrx

Minimal matcher for POSIX Extended Regular Expressions
GNU Lesser General Public License v3.0
3 stars 2 forks source link

Investigate strategies to fully implement POSIX [.collating-element.] syntax. #14

Open mikehaertel opened 3 months ago

bhaible commented 2 months ago

Gnulib has the same problem; see the code starting at gnulib/lib/regexec.c line 3734. IMO we should ask the glibc people for a libc API for this.

arnoldrobbins commented 3 weeks ago

@bhaible A GLIBC API is necessary but not sufficient (as my high school math teacher used to say). We need a POSIX API in order to be able to work portably on macOS and legacy Unixes (and maybe even Windows).

bhaible commented 3 weeks ago

We need a POSIX API

Right. But the Austin Group rarely standardizes an API that no libc has implemented so far. Therefore the most promising approach for getting a POSIX API is to get a glibc API first, and then (with the help of Eric Blake) push that onto the Austin Group's table.

arnoldrobbins commented 3 weeks ago

I see. That makes sense. Thanks. Same note applies in #15 .