WG15 Defect Report Ref: 9945-2-31
Topic: ex - replacement strings


This is an approved interpretation of 9945-2:1993.

.

Last update: 1997-05-20


								9945-2-31

 _____________________________________________________________________________


	Topic:			ex - replacement strings
	Relevant Sections:	5.10.7.4
	Classification:		Defect


Defect Report:
-----------------------

Reference: Page 535, Section 5.10.7.4, "Replacement Strings".

Historically, the upper and lower case manipulations occurred
on all characters in the replacement strings, not just those
inserted using \n or \[1-9].  Was it the intent of the standard
to change historical practice?  If not, I'd suggest the following
wording:

    The strings \l, \u, \L, and \U can be used to modify the case of
    elements in the replacement string.  The string \l (\u) shall cause
    the character that follows to be converted to lowercase (uppercase).
    The strings \L (\U) shall cause all characters subsequent to them
    to be converted to lowercase (uppercase) until the string \e or \E,
    or the end of the replacement string, is encountered.

(Keith Bostic)	

WG15 response for 9945-2:1993 
-----------------------------------
        The standard is specific in its requirement that \l, \u ,\L, and
        \U  should only modify the case of elements using & and \digit.

        Concerns about the wording of this part of the standard have
        been forwarded to the sponsor.

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

None.


Editorial note for future revision of standard (not part of this interpretation)
-------------------------------------------------------------------------------
Consider taken the above proposed change to the section 5.10.7.4 ex Replacement Strings.

NOTE: There is no certainty that these comments will apply to any
revision of ISO/IEC 9945-2:1993.
 _____________________________________________________________________________