Anonymous | Login | 2024-10-09 03:48 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 | ||
0001552 | [1003.1(2016/18)/Issue7+TC2] Shell and Utilities | Editorial | Enhancement Request | 2022-01-14 23:55 | 2022-01-18 00:34 | ||
Reporter | calestyo | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Duplicate | ||||
Status | Closed | ||||||
Name | Christoph Anton Mitterer | ||||||
Organization | |||||||
User Reference | |||||||
Section | 2.13.1 Patterns Matching a Single Character | ||||||
Page Number | - | ||||||
Line Number | - | ||||||
Interp Status | --- | ||||||
Final Accepted Text | |||||||
Summary | 0001552: minor improvement in the description of […] in pattern matching notation | ||||||
Description |
Right now the text says: "If an open bracket introduces a bracket expression as in XBD RE Bracket Expression, except that the <exclamation-mark> character ( '!' ) shall replace the <circumflex> character ( '^' ) in its role in a non-matching list in the regular expression notation, it shall introduce a pattern bracket expression. A bracket expression starting with an unquoted <circumflex> character produces unspecified results. Otherwise, '[' shall match the character itself." |
||||||
Desired Action |
I would propose to swap the last two sentences, i.e. first: "Otherwise, '[' shall match the character itself." followed by "A bracket expression starting with an unquoted <circumflex> character produces unspecified results." Otherwise the meaning could be interpreted, that a [ would match itself, if the bracket expression was not starting with an unquoted ^ . Whereas that sentence rather relates to the 1st sentence, i.e. "If an open bracket introduces a bracket expression..." and ONLY if it does NOT result into a bracket expression, it (the [ ) shall be taken literally. Cheers, Chris. |
||||||
Tags | No tags attached. | ||||||
Attached Files | |||||||
|
Relationships | |||||||
|
Notes | |
(0005615) geoffclare (manager) 2022-01-17 10:33 |
This problem has already been fixed by bug 0000985. This bug should be closed as a dup of 985. |
(0005619) calestyo (reporter) 2022-01-17 18:49 |
Formulation there seems fine and solve the issue from here as well. So I agree that this should be closed. |
(0005620) Don Cragun (manager) 2022-01-18 00:34 |
Closed as requested by submitter. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |