This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/12986] New: fscanf scan sets do not support embedded character classes


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]