Defect Report concerning: IEEE Std. 1003.2-1992, ISO/IEC 9945-2:1993 - Shell & Utilities
Clause: Table B-10
PASC Interpretation Ref: pasc-1003.2-44
Topic: regular expression error codes


This is an unapproved interpretation of PASC 1003.2-1992, ISO/IEC 9945-2:1993 - Shell & Utilities.

Use of the information contained in this unapproved document is at your own risk.

Last update: 20 April,2001


								1003.2-92  #44

 _____________________________________________________________________________


	Interpretation Number:	XXXX
	Topic:			regular expression error codes
	Relevant Sections:	Table B-10
	Classification:		Unaddressed issue.


Interpretation Request: (Defect Report)
-----------------------

(from Andrew Hume Doug McIlroy)

Interface Issues

Issue E

	    ________________________________________

 [16] Must the regular-expression error	codes  be  distinct?
     [Table B-10]

Proposed Solution:

     The values	in Table B-10, along with any  other	REG_
values	defined	 by the	implementation (line 430, page 730),
must all be different.

Rationale:

     A conforming  regcomp() could return    REG_BADPAT	 for
every  syntax error.  Nevertheless, it is important that the
other codes be distinct, lest a	C switch  on  the  codes  be
illegal.


IEEE Interpretation for 1003.2-1992 
-----------------------------------

The standard does not speak to this issue, and no conformance
distinction can be made between alternative implementations
based on this. This is being referred to the sponsor.
        

Rationale for Interpretation:
-----------------------------
None

 _____________________________________________________________________________