View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001911 | 1003.1(2024)/Issue8 | Base Definitions and Headers | public | 2025-02-28 02:37 | 2025-03-13 15:23 |
Reporter | dannyniu | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Omission |
Status | Resolved | Resolution | Accepted As Marked | ||
Name | DannyNiu/NJF | ||||
Organization | Individual | ||||
User Reference | |||||
Section | XBD Section 9, Regular Expressions | ||||
Page Number | Page 187 | ||||
Line Number | Line 6675 Onwards | ||||
Interp Status | --- | ||||
Final Accepted Text | See 0001911:0007096. | ||||
Summary | 0001911: Clearify & consistently define "subexpression" for ERE. | ||||
Description | In https://www.austingroupbugs.net/view.php?id=1857 wording was revised to clarify the behavior of lazy matches. Subsequently, further issues were noted. In particular, the use of ''subpatterns'' and ''subexpressions'' were found not used consistently. As mentioned on the mailing list, the word ''subpattern'' is eliminated by Bug-1857; ''subexpression'' were defined for BRE to mean the content of a (escaped) parenthesized substring of the spelling of an expression, however this was not done for ERE. | ||||
Desired Action | On the mailing list, it was mentioned this consistency be best addressed in a separate bug. The desired action for this bug is to consistently define the term ''subexpression'' for ERE (as had been done for BRE). | ||||
Tags | tc1-2024 |
|
Suggested changes ... On page 187 line 6684-6686 section 9.4.1, delete: An ERE matching a single character enclosed in parentheses shall match the same as the ERE without parentheses would have matched. On page 189 line 6729 section 9.4.6, change: 1. A concatenation of EREs shall match the concatenation of the character sequences matched by each component of the ERE. A concatenation of EREs enclosed in parentheses shall match whatever the concatenation without the parentheses matches. For example, both the ERE "cd" and the ERE "(cd)" are matched by the third and fourth character of the string "abcdefabcdef".to: 1. A concatenation of EREs shall match the concatenation of the strings matched by each component of the ERE.and renumber the remaining items. On page 189 line 6734 section 9.4.6, and page 189 line 6739 section 9.4.6, and page 189 line 6745 section 9.4.6, and page 189 line 6749 section 9.4.6, change: When an ERE matching a single character or an ERE enclosed in parentheses is followed by ...to: When an ERE matching a single character or an ERE subexpression is followed by ... On page 189 line 6772 section 9.4.6, change: An ERE matching a single character repeated by an '*', '?', or an interval expression shall not match a null expression unless ...to: An ERE matching a single character, or an ERE subexpression, repeated by an '*', '?', or an interval expression shall not match a null expression unless ... On page 190 line 6787 section 9.4.8, change: Groupingto: Subexpressions |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-02-28 02:37 | dannyniu | New Issue | |
2025-03-06 17:49 | geoffclare | Note Added: 0007096 | |
2025-03-06 17:50 | geoffclare | Note Edited: 0007096 | |
2025-03-13 15:21 | Don Cragun | Status | New => Resolved |
2025-03-13 15:21 | Don Cragun | Resolution | Open => Accepted As Marked |
2025-03-13 15:21 | Don Cragun | Interp Status | => --- |
2025-03-13 15:21 | Don Cragun | Final Accepted Text | => See 0001911:0007096. |
2025-03-13 15:23 | Don Cragun | Tag Attached: tc1-2024 |