Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000976 [1003.1(2013)/Issue7+TC1] Base Definitions and Headers Editorial Error 2015-08-18 10:39 2015-09-24 15:11
Reporter stephane View Status public  
Assigned To
Priority normal Resolution Duplicate  
Status Closed  
Name Stephane Chazelas
Organization
User Reference
Section 9.3.8 BRE Expression Anchoring
Page Number 187
Line Number 6100
Interp Status ---
Final Accepted Text
Summary 0000976: improper use of "line" to describe the ^ and $ operators
Description The 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 Action Change to:

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

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

-  Notes
(0002794)
Don Cragun (manager)
2015-08-20 15:43
edited on: 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.

(0002842)
geoffclare (manager)
2015-09-23 08:21

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 Note: 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 Note: 0002794. =>


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker