View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001480 | 1003.1(2016/18)/Issue7+TC2 | Base Definitions and Headers | public | 2021-05-30 03:27 | 2021-11-18 17:14 |
| Reporter | calestyo | Assigned To | |||
| Priority | normal | Severity | Editorial | Type | Error |
| Status | Closed | Resolution | Rejected | ||
| Name | Christoph Anton Mitterer | ||||
| Organization | |||||
| User Reference | |||||
| Section | 9. Regular Expressions | ||||
| Page Number | (page or range of pages) | ||||
| Line Number | (Line or range of lines) | ||||
| Interp Status | --- | ||||
| Final Accepted Text | |||||
| Summary | 0001480: possible typo in "unescaped <backslash> ( '\\' )" | ||||
| Description | Hey. In "9. Regular Expressions", there are *two* occurrences of: "The interpretation of an ordinary character preceded by an unescaped <backslash> ( '\\' ) is undefined" Shouldn't that be a single \ in the parentheses, that is: ( '\' ) ? Thanks, Chris. | ||||
| Desired Action | Resolve the typo. | ||||
| Tags | No tags attached. | ||||
|
|
As a C character constant, using the single quotes like that, the doubling is required. Generally, other quoting like angle brackets are used when how C does things isn't the intent. Maybe <\> would be less confusing there, I'm just positing why it's like that now. |
|
|
Hmm it doesn't really become obvious, IMO, that this is C style quoting here. |
|
|
The Typographical Conventions section in the frontmatter explains that these are C constants (see note 2 after the table). |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-05-30 03:27 | calestyo | New Issue | |
| 2021-05-30 03:27 | calestyo | Name | => Christoph Anton Mitterer |
| 2021-05-30 03:27 | calestyo | Section | => 9. Regular Expressions |
| 2021-05-30 03:27 | calestyo | Page Number | => (page or range of pages) |
| 2021-05-30 03:27 | calestyo | Line Number | => (Line or range of lines) |
| 2021-05-30 03:47 | shware_systems | Note Added: 0005374 | |
| 2021-05-30 03:56 | calestyo | Note Added: 0005375 | |
| 2021-06-03 08:15 | geoffclare | Note Added: 0005376 | |
| 2021-11-18 17:14 | Don Cragun | Interp Status | => --- |
| 2021-11-18 17:14 | Don Cragun | Status | New => Closed |
| 2021-11-18 17:14 | Don Cragun | Resolution | Open => Rejected |