unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@twinsun.com>
Cc: sds@gnu.org, emacs-devel@gnu.org
Subject: Re: regex.c: emacs & glibc (and xemacs, and grep and ...)
Date: Thu, 4 Apr 2002 17:25:22 -0800 (PST)	[thread overview]
Message-ID: <200204050125.g351PMp27017@shade.twinsun.com> (raw)
In-Reply-To: <200204041924.g34JOt718874@rum.cs.yale.edu> (monnier+gnu/emacs@RUM.cs.yale.edu)

> From: "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu>
> Date: Thu, 04 Apr 2002 14:24:55 -0500
> 
> In the mean time, supposedly glibc has switched to a new code base for its
> regexp engine (I know glibc maintainers hated the regexp code, and I can
> partly understand why, although the Emacs version has been somewhat
> improved) which seems inadequate (for now at least) for Emacs and even
> somewhat unstable, last I heard of it.

My impression is that the new glibc engine still needs some work.
I've been communicating with Isamu Hasegawa, its author, and have
mostly focused on RE compatibility concerns, notably POSIX
conformance.  His first goal, understandably so, is to get it up to
speed for glibc's own purposes, and later to worry about other uses
like grep and Emacs.

In other news, the 2001 edition of the original Unix regular
expression code has been distributed under the LGPL by Caldera, the
current copyright holders.  This was done after the IBM contribution.
However, I haven't had a chance to look at the Unix code.  If you're
interested, it's in <http://unixtools.sourceforge.net/>.


> I don't know what GNU grep uses,

Grep uses a version of regex.c that forked from the glibc version
after Emacs did.  The GNU core utilities have a version that forked
from glibc after Emacs did, but before grep did.  I don't know about
the gnulib version (perhaps it's supposed to be identical to the Emacs
version?).

It is a bit of a mess.  With the exception of the new glibc code and
the Unix code, it should be relatively easy to merge all these
versions, if someone could find the time.

  reply	other threads:[~2002-04-05  1:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-04 18:55 regex.c: emacs & glibc (and xemacs, and grep and ...) Sam Steingold
2002-04-04 19:24 ` Stefan Monnier
2002-04-05  1:25   ` Paul Eggert [this message]
2002-04-05  2:47     ` Miles Bader
2002-04-05 14:48     ` Stefan Monnier
2002-04-05 23:41       ` Richard Stallman
2002-04-08 16:26         ` Stefan Monnier
2002-04-08 19:22           ` Paul Eggert
2002-04-10 14:23           ` Richard Stallman
2002-04-05 19:05 ` Richard Stallman
2002-04-05 20:27   ` Sam Steingold
2002-04-06 17:32     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200204050125.g351PMp27017@shade.twinsun.com \
    --to=eggert@twinsun.com \
    --cc=emacs-devel@gnu.org \
    --cc=sds@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).