On 03/10/2007, at 14:10, michael@sacisolutions.com wrote:
[...] The double-forward slash works fine, but the single quote doesn't.
In TM’s language grammars, '…' strings support no escape characters at all (but '' gives a ') and "…" strings support " and \, but nothing else.
The rules with some examples are here: http://macromates.com/textmate/manual/appendix#strings
So to match a single ' you’d either use: “match = "'";” or “match = '''';”.