Thanks for the investigation Marcel and Andrew. Indeed I did not compile with "--without-included-regex" and I did not pay attention to the locale settings. I would have never guessed it could be influenced by the localization.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/759849 Title: echo FOO | grep '^[a-z]' returns 0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/759849/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs