This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/12986] New: fscanf scan sets do not support embedded character classes
- From: "giecrilj at stegny dot 2a.pl" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 12 Jul 2011 14:34:43 +0000
- Subject: [Bug manual/12986] New: fscanf scan sets do not support embedded character classes
- Auto-submitted: auto-generated
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.