Article 6CBAT I want to match against any sequence of exactly five digits. Why does [0-9]{5} not work correctly?

I want to match against any sequence of exactly five digits. Why does [0-9]{5} not work correctly?

by
Brief-Wishbone9091
from LinuxQuestions.org on (#6CBAT)
Code:[root@localhost ~]# cat file1
11111
22222
3333333333
444444444
55555555
12345678910Code:[root@localhost ~]# grep [0-9]{5} file1It's not matching anything. Help Required? Why is it not matching anything?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments