match real number

2006-10-25 Thread Peng Yu
Hi, I'm wondering if there is any built in regex to match real number? It could make some application easier. Thanks, Peng

Re: match real number

2006-10-25 Thread Tim Chase
I'm wondering if there is any built in regex to match real number? It could make some application easier. There aren't any builtin, and given that Vim doesn't have native support for floating-point math, it's not surprising. One can use something like [-+]\=[0-9]*\.\=[0-9]\+\%([eE