I have my own font locking that highlights quotes in comments eg.
/* Some comment 'this is quoted' * more 'text in an escaped \` quote'. * Plurals such as Moe's or Joe's should work too. */
- Assuming the quotes don't need to span multiple lines.
- And quotes can be escaped.
Currently I'm using
(concat "'" ".*?" "[^\\]" "'")
However it doesn't check spaces around the quotes.
Is there a convention to matching quotation?