View Issue Details

IDProjectCategoryView StatusLast Update
00014801003.1(2016/18)/Issue7+TC2Base Definitions and Headerspublic2021-11-18 17:14
Reportercalestyo Assigned To 
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionRejected 
NameChristoph 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
Summary0001480: possible typo in "unescaped <backslash> ( '\\' )"
DescriptionHey.

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 ActionResolve the typo.
TagsNo tags attached.

Activities

shware_systems

2021-05-30 03:47

reporter   bugnote:0005374

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.

calestyo

2021-05-30 03:56

reporter   bugnote:0005375

Hmm it doesn't really become obvious, IMO, that this is C style quoting here.

geoffclare

2021-06-03 08:15

manager   bugnote:0005376

The Typographical Conventions section in the frontmatter explains that these are C constants (see note 2 after the table).

Issue History

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