[Bug regex/22425] New: Escape by \ with REG_ICASE

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug regex/22425] New: Escape by \ with REG_ICASE

tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22425

            Bug ID: 22425
           Summary: Escape by \ with REG_ICASE
           Product: glibc
           Version: unspecified
               URL: https://dev.gnupg.org/T2923
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: regex
          Assignee: unassigned at sourceware dot org
          Reporter: gniibe at fsij dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 10583
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10583&action=edit
Test program to show regcomp bug

With REG_ICASE, escape by \ (backslash) doesn't work well.
Regexp of \x\y\z is expected to match string of xyz with REG_ICASE.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug regex/22425] Escape by \ with REG_ICASE

tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22425

--- Comment #1 from Andreas Schwab <[hidden email]> ---
Unknown backslash escapes invoke undefined behaviour.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug regex/22425] Escape by \ with REG_ICASE

tromey at sourceware dot org
In reply to this post by tromey at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22425

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to Andreas Schwab from comment #1)
> Unknown backslash escapes invoke undefined behaviour.

Should we mark this bug as invalid then?

--
You are receiving this mail because:
You are on the CC list for the bug.