buggrep - Bugs: bug #29537, Grep incorrectly match unicode...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29537: Grep incorrectly match unicode patterns with \< \>

Submitted by:  Jaroslav Škarvada <yarda>
Submitted on:  Tue 13 Apr 2010 07:42:22 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Sat 17 Apr 2010 11:04:43 AM UTC, comment #1:

Thanks. See discussion on the list:

http://thread.gmane.org/gmane.comp.gnu.grep.bugs/3054

Jim Meyering <meyering>
Project Administrator
Tue 13 Apr 2010 07:42:22 AM UTC, original submission:

This bug originates from https://bugzilla.redhat.com/show_bug.cgi?id=549651

Version-Release number of selected component (if applicable):

Version : 2.6.3

How reproducible:

Try to do such commands:

$ echo "Это просто текст" | grep '\<просто\>'
(no result)

$ echo "This is a text" | grep '\<is\>'
This is a text

Actual results:
sed and other utilites work properly, for example:

$ echo "Это просто простой текст" | sed s/'\<просто\>'/'не очень'/
Это не очень простой текст

$ locale
LANG=ru_RU.UTF-8

Jaroslav Škarvada <yarda>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by meyering (Posted a comment)
  • -email is unavailable- added by yarda (Submitted the item)
  • -email is unavailable- added by yarda
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Sat 17 Apr 2010 11:04:43 AM UTC meyering StatusNone => Confirmed
        SummaryGrep incorrectly match unicode patterns with \\< \\> => Grep incorrectly match unicode patterns with \< \>
    Tue 13 Apr 2010 07:42:23 AM UTC yarda Carbon-Copy- => Added yarda

    Back to the top


    Powered by Savane 3.3