microsoft / language-server-protocol

Defines a common protocol for language servers.
https://microsoft.github.io/language-server-protocol/
Creative Commons Attribution 4.0 International
11.27k stars 799 forks source link

Define POSIX (POSIX.1-2017) as a standard regular expression variant #1906

Open ddevault opened 8 months ago

ddevault commented 8 months ago

As specified by The Open Group

dbaeumer commented 8 months ago

@ddevault do you know of any implementations of that standard?

ddevault commented 8 months ago

There are heaps -- virtually every libc; glibc, musl libc, etc; pcre, etc, as well as the implementation I am responsible for (and which motivated this request): Hare.

ddevault commented 8 months ago

See also https://en.wikipedia.org/wiki/POSIX#POSIX-oriented_operating_systems

midirhee12 commented 1 month ago

You would be very hard pressed to find any language without POSIX standard regex. And you'd even be further hard pressed to find any machine which does not have code written in any language which has the POSIX standard regex. It is nearly as close to a universal standard as one can get. It is comparable to trying to find examples of ASCII or Unicode.