From mkamm@tom.kfunigraz.ac.at  Sun Dec 19 07:08:49 1999
Return-Path: <mkamm@tom.kfunigraz.ac.at>
Received: from jerry.kfunigraz.ac.at (GIGAJERRY.kfunigraz.ac.at [143.50.55.161])
	by hub.freebsd.org (Postfix) with ESMTP id 3A81314E1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 Dec 1999 07:08:48 -0800 (PST)
	(envelope-from mkamm@tom.kfunigraz.ac.at)
Received: from tom.kfunigraz.ac.at (mc_tom [10.10.1.160])
	by jerry.kfunigraz.ac.at (8.9.3/8.9.3) with ESMTP id QAA06593
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 Dec 1999 16:08:41 +0100 (MET)
Received: from localhost.kfunigraz.ac.at (BONLINEB84.kfunigraz.ac.at [143.50.33.84])
	by tom.kfunigraz.ac.at (8.9.3/8.9.3) with ESMTP id QAA01100
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 18 Dec 1999 16:19:41 +0100 (MET)
Received: (from mkamm@localhost)
	by localhost.kfunigraz.ac.at (8.9.3/8.9.3) id LAA01044;
	Sat, 18 Dec 1999 11:38:09 +0100 (CET)
	(envelope-from mkamm)
Message-Id: <199912181038.LAA01044@localhost.kfunigraz.ac.at>
Date: Sat, 18 Dec 1999 11:38:09 +0100 (CET)
From: mkamm@gmx.net
Sender: mkamm@tom.kfunigraz.ac.at
Reply-To: mkamm@gmx.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: regex(3) manpage needs update
X-Send-Pr-Version: 3.2

>Number:         15561
>Category:       docs
>Synopsis:       regex(3) manpage needs update
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dcs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 19 07:10:02 PST 1999
>Closed-Date:    Sun Jul 2 03:32:23 PDT 2000
>Last-Modified:  Sun Jul 02 03:38:59 PDT 2000
>Originator:     Martin Kammerhofer
>Release:        FreeBSD 3.4-RC i386
>Organization:
Graz Universities
>Environment:
>Description:

  The BUGS section of regex(3) starts with...

BUGS
       This is an  alpha  release  with  known  defects.   Please
       report problems.

       There  is one known functionality bug.  The implementation
       of  internationalization  is  incomplete:  the  locale  is
       always  assumed  to be the default one of 1003.2, and only
       the collating elements etc. of that locale are  available.

Paragraph 1 is questionable. There have been several commits in
/src/lib/libc/regex over the past 5 years. Why is it still alpha?

The bug listed in paragraph 2 above seems to have been fixed by ache
with several commits (from version 1.5 on) to regcomp.c

>How-To-Repeat:

echo _aeiou__ | env LANG=de_DE.ISO_8859-1 sed 's/[^[:alpha:]]/=/g'
echo _aeiou__ | env - sed 's/[^[:alpha:]]/=/g'

>Fix:

Correct bugs section of regex(3).

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-doc 
Responsible-Changed-By: phantom 
Responsible-Changed-When: Sun Dec 19 10:56:29 PST 1999 
Responsible-Changed-Why:  
Misfiled PR 

From: "Daniel C. Sobral" <dcs@newsguy.com>
To: freebsd-gnats-submit@FreeBSD.org, mkamm@gmx.net
Cc:  
Subject: Re: docs/15561: regex(3) manpage needs update
Date: Mon, 05 Jun 2000 08:57:22 +0900

 >      Paragraph 1 is questionable. There have been several commits in
 >      /src/lib/libc/regex over the past 5 years. Why is it still alpha?
 
 Huh? I went through the history of all files in that directory, and
 found almost no commits at all! The code is still full with comments
 about possible bugs and hacks around existing bugs. But the fact is that
 Henry Spencer knew what bugs it had or not, but they are not _actually_
 documented anywhere, so it's very difficult for others to proceed with
 his work.
 
 That said, the _lack_ of commits (and PRs) about it is a good indication
 the code is probably stable.
 
 -- 
 Daniel C. Sobral			(8-DCS)
 
 dcs@newsguy.com
 dcs@freebsd.org
 capo@yet.another.bsdconspiracy.org
 
 	Hmmm - I have to go check this. My reality assumptions are shattered.
 
Responsible-Changed-From-To: freebsd-doc->dcs  
Responsible-Changed-By: cpiazza 
Responsible-Changed-When: Sun Jun 4 17:00:50 PDT 2000 
Responsible-Changed-Why:  
dcs is working on this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=15561 
State-Changed-From-To: open->closed 
State-Changed-By: dcs 
State-Changed-When: Sun Jul 2 03:32:23 PDT 2000 
State-Changed-Why:  
The comment about the problem with the internationalization implementation 
has been removed. 

The code is still considered alpha, though, because it hasn't really 
received much attention. It's use in the base system is somewhat limitted, 
and there is no one who understand the finer issues with the code. Comments 
and hacks abound in it, and, unfortunately, we do not have the source to the 
regression tests. Thus, I deem the comment about being an "alpha" version 
still true, five years or not. 

Notice that collate elements do not work at all in the present 
implementation, which should probably be noted in the man page. Since I do 
not fully understand the issues, I did not add any comments to the man 
page. Further PRs covering this issue, preferably with diffs, will be 
gratefully accepted. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=15561 
>Unformatted:
