Anonymous | Login | 2024-12-04 05:33 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||||||||
0001877 | [1003.1(2024)/Issue8] Base Definitions and Headers | Editorial | Error | 2024-11-19 12:10 | 2024-11-21 16:12 | ||||||||
Reporter | geoffclare | View Status | public | ||||||||||
Assigned To | |||||||||||||
Priority | normal | Resolution | Accepted | ||||||||||
Status | Resolved | ||||||||||||
Name | Geoff Clare | ||||||||||||
Organization | The Open Group | ||||||||||||
User Reference | |||||||||||||
Section | 9.1 | ||||||||||||
Page Number | 179 | ||||||||||||
Line Number | 6335-6388 | ||||||||||||
Interp Status | --- | ||||||||||||
Final Accepted Text | |||||||||||||
Summary | 0001877: ISO editors Issue 8 comment 068 | ||||||||||||
Description |
In their comment 068 on Issue 8 the ISO editors pointed out that definitions of terms should all be in chapter 3; there should not be additional definitions for REs in XBD 9.1. The Austin Group's response was that a change would be considered for the next TC. Currently 9.1 is a mixture of definitions and behavioural requirements. The requirements should not move to chapter 3; they should either stay in 9.1 and the section be renamed appropriately, or move elsewhere in chapter 9. When some of the definitions are moved to the wider context, they will need updating to account for that. For example, "escape character" is used in several contexts. Some of the definitions seem unnecessary or have problems and I do not believe any changes to chapter 3 should be made for them: "entire regular expression": this is already defined in 3.124. Another issue with the current definitions in 9.1 is that the "escape sequence" entry defines both "escape sequence" and (within the text) "escape character"; both terms should be added to XBD 3. The changes to 9.1 will necessitate some tweaks to places elsewhere in the standard that cross-reference it. Note that bug 0001857 moves the requirements from the "matched" definition from 9.1 to 9.2, but the desired action here moves them back (otherwise there would be nothing left in 9.1, and removing 9.1 would alter the later familiar section numbers). |
||||||||||||
Desired Action |
After page 49 line 1539 section 3.127, add:3.128 Escape CharacterA character that, in certain circumstances and when not itself escaped, modifies the interpretation of the immediately following character by ``escaping'' that character.3.129 Escape Sequence After page 58 line 1798 section 3.184, add: 3.185 LeftmostClosest to the beginning of a sequence of items, such as characters in a string or symbols in a [xref to yacc] rule. On page 179 line 6335-6348 section 9.1, after applying bug 1857 change: 9.1 Regular Expression Definitionsto:For the purposes of this section, the following definitions shall apply: 9.1 Regular Expression Matchingand move the text that bug 1857 moved from "matched" to 9.2, as updated by that bug, back into 9.1. On page 180 line 6373-6381 section 9.1, delete: BRE (ERE) matching a single character On page 180 line 6382-6388 section 9.1, move the text of the current "invalid" definition to become a new paragraph at the end of 9.2 Regular Expression General Requirements (after page 191 line 6413). After page 191 line 6390 section 9.2, add a paragraph: The escape character in regular expressions shall be a <backslash> that is neither in a bracket expression nor itself escaped. On page 2616 line 85645 section awk, change: defined by the term matched in [xref to XBD Section 9.1]to: defined by [xref to XBD Section 9.1] On page 2817 line 93403 section ed, and page 2825 line 93720 section ed, and page 2867 line 95359 section ex, and page 2876 line 95690 section ex, and page 3356 line 114103 section sed, and page 3359 line 114244 section sed, change: escape sequence (see [xref to XBD Section 9.1])to: escape sequence (see [xref to XBD Section 3.129]) On page 3371 line 114747 section sh, change: Typing an escape character shall switch sh into command modeto: Typing an <ESC> character shall switch sh into command mode On page 3709 line 127351 section A.9.1, change: A.9.1 Regular Expression Definitionsto: A.9.1 Regular Expression Matching |
||||||||||||
Tags | tc1-2024 | ||||||||||||
Attached Files | |||||||||||||
|
Relationships | ||||||
|
There are no notes attached to this issue. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |