Query range of hosts with leading zero

Hi,

maybe I’m just stupid, but how can I address a number of hosts in my query. I want to have something like:

... WHERE ("node" =~ /node10[01..50]/) ...

Which obviously dosn’t work. The result should be nodes “node1001 - node1050”.