It looks like you're new here. If you want to get involved, click one of these buttons!
The comma is supposed to go inside the quotes. I don't want to confuse the reader as to the actual contents of the string I am describing, so I incorrectly put the comma outside the quotes.
Searching "D56PFN" will give you the same results as searching "D 56 PFN", but searching "D-56-PFN" will not.
Comments
Apparently British English does give you the choice of putting the punctuation outside the quote marks if it has nothing to do with the quote itself.
Edit: FWIW, the American Bar Association has been using the British style, which is akin to the programmer's style, since 1951, to minimize ambiguity. Apparently, many other industry/profession-specific style guides also do the same thing.
Problem solved.
I'm astounded in general how many tech people (but mostly programmers) I see that can't spell properly. I don't understand how that happens.