in reply to regex error

use quotemeta