[Bug manual/12986] New: fscanf scan sets do not support embedded character classes
giecrilj at stegny dot 2a.pl
sourceware-bugzilla@sourceware.org
Tue Jul 12 14:34:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=12986
Summary: fscanf scan sets do not support embedded character
classes
Product: glibc
Version: 2.11
Status: NEW
Severity: normal
Priority: P2
Component: manual
AssignedTo: roland@gnu.org
ReportedBy: giecrilj@stegny.2a.pl
libc.info, 12.14.5: String Input Conversions:
You specify the set between the `[' character and a following `]' character,
using the same syntax used in regular expressions.
man regexp(7):
Within a bracket expression, the name of a character class enclosed in "[:" and
":]" stands for the list of all characters belonging to that class.
However, my experiment shows that [:character-classes:] are not supported
within scan sets.
sscanf("A", "%*[[:alpha:]]");
Reported as openSUSE Bug 704755, classified UPSTREAM.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list