[TxMt] Re: Troubles matching " and ' in language grammar

Hans-Jörg Bibiko bibiko at eva.mpg.de
Tue Sep 2 05:23:04 UTC 2008


On 02.09.2008, at 01:12, Charles Turner wrote:

> On Mon, 01 Sep 2008 23:37:50 +0200, Hans-Jörg Bibiko wrote:
>> Maybe this could help:
>> E.g.  ("|\x{27}) for " or '
>
> Hi Hans-
>
> I appreciate this and your following message. For some reason, I
> thought hex codes were entered as \x27 and not the \x{27} as you
> suggest. They work fine now...
AFAIK TM uses internally the Oniguruma regexp engine with wide hex  
chars:
\x{7HHHHHHH} wide hexadecimal char

see
http://manual.macromates.com/en/regular_expressions#syntax_oniguruma


On 02.09.2008, at 03:01, Michael Sheets wrote:
> For using ' and " in the property lists see:
>
> http://manual.macromates.com/en/appendix#property_list_format

To be honest I've never read this. Thanks for pointing this out.

--Hans


More information about the textmate mailing list