grep - Bugs: bug #37600, grep -w cuts words on non-ascii
You are not allowed to post comments on this tracker with your current authentication level.
bug #37600: grep -w cuts words on non-ascii
Submitter: | Flammie Pirinen <flammie> | ||
Submitted: | Fri 19 Oct 2012 02:10:23 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
Mon 24 Feb 2014 02:57:54 PM UTC, comment #1: |
Stephane Chazelas <stephanechazelas> |
Fri 19 Oct 2012 02:10:23 AM UTC, original submission:
It seems that grep -w does not support non-ascii characters, at least for locale fi-FI.utf8:
|
Flammie Pirinen <flammie> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Powered by Savane 3.13-f8d8.
Corresponding source code
Note that it also affects \b, \<, \> and \w.
With -P, you can use:
But note that you can't use grep -wP in combination with (*UCP) as (*UCP) as to be first and -w wraps the regexps inside \b...\b.