Is this regular expression correct?

i made index and inserted a document about phone number like below

# curl -XPOST localhost:9200/testindex?pretty -d '{
>   "mappings": {
>     "document": {
>       "properties": {
>         "name": {
>           "type": "string"
>         }
>       }
>     }
>   }
> }'
{
  "acknowledged" : true
}
# curl -XPUT localhost:9200/testindex/document/1?pretty -d '{"name": "010-1111-2222"}'
{
  "_index" : "testindex",
  "_type" : "document",
  "_id" : "1",
  "_version" : 1,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "failed" : 0
  },
  "created" : true
}

And, i searched with regular expression. but no found..
what is wrong??

# curl -XGET localhost:9200/testindex/document/_search?pretty -d '{
>   "query": {
>     "query_string": {
>       "query": "name:/010-[0-9]{4}-[0-9]{4}/"
>     }
>   }
> }'
{
  "took" : 2,
  "timed_out" : false,
  "_shards" : {
    "total" : 10,
    "successful" : 10,
    "failed" : 0
  },
  "hits" : {
    "total" : 0,
    "max_score" : null,
    "hits" : [ ]
  }
}

Regexes match whole terms. Configure the phone numbers as not_analzed and
it should work. Also, I try to strip the formatting from.phone numbers and
add the country code. It saves a lot of trouble if you ever have to deal
with numbers with other country codes.

Thank you. it was done.
i knew default is not_analzed for target field.

but, if i insert more document like below,
curl -XPUT localhost:9200/testindex/document/1?pretty -d '{"name": "Bob 010-1111-2222"}'

is it also included in result ??
i tested it. but it's not included.