View Issue Details

IDProjectCategoryView StatusLast Update
00009761003.1(2013)/Issue7+TC1Base Definitions and Headerspublic2015-09-24 15:11
Reporterstephane Assigned To 
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionDuplicate 
NameStephane Chazelas
Organization
User Reference
Section9.3.8 BRE Expression Anchoring
Page Number187
Line Number6100
Interp Status---
Final Accepted Text
Summary0000976: improper use of "line" to describe the ^ and $ operators
DescriptionThe spec says:

   "A BRE can be limited to matching strings that begin or end a line"

While its true when the RE is matched against the content of a line (minus the trailing newline character) like in the case of grep, and while the rest of that section is careful to use "string" instead of "line", the usage of "line" here is misleading and can suggest ^ or $ could match after (resp before) a newline character.
Desired ActionChange to:

   "A BRE can be limited to only match at the beginning or end of a string"
TagsNo tags attached.

Relationships

duplicate of 0000595 Closedajosey 1003.1(2008)/Issue 7 regular expressions do not operate on lines 

Activities

Don Cragun

2015-08-20 15:43

manager   bugnote:0002794

Last edited: 2015-08-20 15:44

In addition to the change noted in the Desired Action, make the same change in the description of ERE anchoring in subclause 9.4.9 on P191, L 6221.

geoffclare

2015-09-23 08:21

manager   bugnote:0002842

Reopening because this duplicates 0000595 but solves it with different wording. We need to decide which wording we prefer.

Issue History

Date Modified Username Field Change
2015-08-18 10:39 stephane New Issue
2015-08-18 10:39 stephane Name => Stephane Chazelas
2015-08-18 10:39 stephane Section => http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_03_08
2015-08-18 10:39 stephane Page Number => 187
2015-08-18 10:39 stephane Line Number => 6100
2015-08-20 14:26 Don Cragun Section http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_03_08 => 9.3.8 BRE Expression Anchoring
2015-08-20 14:26 Don Cragun Interp Status => ---
2015-08-20 15:38 Don Cragun Status New => Resolved
2015-08-20 15:38 Don Cragun Resolution Open => Accepted
2015-08-20 15:39 Don Cragun Tag Attached: tc2-2008
2015-08-20 15:43 Don Cragun Note Added: 0002794
2015-08-20 15:43 Don Cragun Final Accepted Text => See 0000976:0002794.
2015-08-20 15:43 Don Cragun Resolution Accepted => Accepted As Marked
2015-08-20 15:44 Don Cragun Note Edited: 0002794
2015-09-23 08:21 geoffclare Note Added: 0002842
2015-09-23 08:21 geoffclare Status Resolved => Under Review
2015-09-23 08:21 geoffclare Resolution Accepted As Marked => Reopened
2015-09-23 08:21 geoffclare Relationship added duplicate of 0000595
2015-09-24 15:10 geoffclare Tag Detached: tc2-2008
2015-09-24 15:10 geoffclare Status Under Review => Closed
2015-09-24 15:10 geoffclare Resolution Reopened => Duplicate
2015-09-24 15:11 geoffclare Final Accepted Text See 0000976:0002794. =>