[SOLVED] linux windows end of line

view story

http://www.linuxquestions.org – I'm learning regular expression, and I feel quite confused about it, every body knows that in grep I can use '^[0-9]' to match a line start with number, and '[0-9]$' to much a end. The book I read said that Windows use ^M$ for his end of line, so I guess if I write some txt file in win then copy to linux,I must can see the ^M, but when I use vim to open it, Oops, IT IS JUST AS SAME AS A REGULAR LINE. but how? Thanks for your advice! (HowTos)