Single quotes in regex

Another thing that stumped me while trying to correct the nose bug described in a previous thread:
How are literal apostrophes/single quotation marks represented in I7 regular expressions?
I didn’t get “’” to work.

I may be way off base here, which I will then blame on being tired, but this does seem to work.

[code]The Home is a room.

After reading a command:
say the player’s command;
if the player’s command exactly matches the regular expression “[']”, say “[line break]True.”[/code]

Weird, yes?

Oh …