Follow-up Comment #1, bug #32337 (project grep):

The man page here is misleading. [:alnum:] does not mean a-zA-Z0-9, it means
"the set of characters with the letter and/or number property in the current
locale".

Grep's behavior is correct here, but the man page could do with improvement.
Suggested rewording:

For example, [[:alnum:]] means the character class of numbers and letters in
the current locale (in the C locale and ASCII character set encoding, this is
the same as [0-9A-Za-z]).

    _______________________________________________________

Reply to this item at:

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

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


Reply via email to