bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #28162] '\W' character class doesn't work with command line option


From: anonymous
Subject: [bug #28162] '\W' character class doesn't work with command line option '-i'
Date: Fri, 04 Dec 2009 06:18:22 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5

URL:
  <http://savannah.gnu.org/bugs/?28162>

                 Summary: '\W' character class doesn't work with command line
option '-i'
                 Project: grep
            Submitted by: None
            Submitted on: Fri 04 Dec 2009 06:18:21 AM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This may be related to bug #27919.

To reproduce, in bash run these:

grep -i '\Wabc' <<< "   abc"
grep '\Wabc' <<< "   abc"

Both should match, but the former doesn't for me.

# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28162>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]