3 ms·in C#by hdragomir 13y agoin C#hdragomir 13y agoHere are some results in Javascript: http://jsperf.com/digit-regex http://jsperf.com/digit-regexjeltz 13y agoIt does not match it in ruby or PostgreSQL (which uses a modified version of the tcl regexp implementation).