Given a document written with normal quotes, e.g.
Ben said "buttons, dear sir".
I replied "Did you say 'buttons'?" to him.
What ways can one turn these sort of things into LaTeX quotes, with the appropriate semantics. i.e.
Ben said ``buttons, dear sir''.
I replied ``Did you say `buttons'?'' to him.
So that LaTeX produces:
Ben said “buttons, dear sir”.
I replied “Did you say ‘buttons’?”
My first thought is to turn to a regex. However, I'm not getting any hits from Google or the regex libraries for "LaTeX quotes regular expression", and of course "TeX quotes regular expression" seems to return too many.
Thank you.