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
0001480 [1003.1(2016/18)/Issue7+TC2] Base Definitions and Headers Editorial Error 2021-05-30 03:27 2021-06-03 08:15
Reporter calestyo View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
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.
Attached Files

- Relationships

-  Notes
(0005374)
shware_systems (reporter)
2021-05-30 03:47

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.
(0005375)
calestyo (reporter)
2021-05-30 03:56

Hmm it doesn't really become obvious, IMO, that this is C style quoting here.
(0005376)
geoffclare (manager)
2021-06-03 08:15

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


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