find -regex sometimes ignores case
Bug #58883 reported by
Garrison Hoffman
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
findutils (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: findutils
find /usr/bin -regex '[/A-Z]+' prints everything in /usr/bin instead of just files with all upper case characters (none); in other words, it functions exactly like -iregex.
find /usr/bin -regex '[/ABCDEFGHIJKL
A better workaround is to use a different -regextype with posix character classes, e.g. find /usr/bin -regextype posix-egrep -regex '[/[:UPPER:]]+'
description: | updated |
Changed in findutils (Ubuntu): | |
status: | Fix Released → Fix Committed |
To post a comment you must log in.
This bug is on all my Dapper & Edgy installations but not Feisty.