why does [[:xdigit:]] highlight letter e in grep results?

362 Views Asked by At

Why does below command highlight e as well with digits?

grep '[[:xdigit:]]' search.txt

enter image description here

1

There are 1 best solutions below

0
0stone0 On BEST ANSWER

This is intended, as it searches for hexadecimal digits.

The man-page states:

enter image description here