replace quote style for regexp