As documented, regular expressions should be surrounded by forward slashes. Also, your regular expressions don't make sense. The first one isn't a valid regexp (it can't end with a backslash) and the first one matches field values that begin with a literal ^ followed but a digit. If you want to check if a field value only contains digits you should be able to use phone:/^\d+$/ and you to match everything else you can say either NOT phone:/^\d+$/ or phone:/\D/.
\d means digit in most regular expression variants. Maybe not Lucene's though—replace with [0-9] in that case.
Again, I can't make specific comments about your expressions since I don't know what you want to match, but ^[0-9] still doesn't make sense. If you want to match non-digits you need [^0-9].
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.