   if input.length == 17
     return input
 
-  return {'$regex' : eval('/' + input + '/')}
+  return {'$regex' : new RegExp(input)}
 
 
 exports.normalize = (path, value, normType) ->


normalizers.string = (input, normType) ->
  if normType is 'query'
    if /^\/(.*?)\/(g?i?m?y?)$/.test(input)
      return [{'$regex' : eval(input)}, input]
  input


colonizeMac = (input) ->


  output = input.replace(/[\[\]\\\^\$\.\|\?\+\(\)]/, "\\$&")
  if output[0] == '*'
    output = output.replace(/^\*+/g, '')
  else
    output = '^' + output

  if output[output.length - 1] == '*'
    output = output.replace(/\*+$/g, '')
  else
    output = output + '$'

  output = output.replace(/[\*]/, '.*')

  return new RegExp(output)


normalizers = {}
