[TxMt] Re: TextMate Regex vs Oyster Regex

Matt Neuburg matt at tidbits.com
Mon Feb 9 00:12:44 UTC 2015


How does it not work. You're not expecting it to work across multiple lines, are you? m. 


> On Feb 8, 2015, at 2:48 PM, Bob Rockefeller <bob at bobrockefeller.com> wrote:
> 
> Thanks!
> 
> And Oyster does Ruby regex, too. So I’m good. Except that what Oyster shows working still does not work in TextMate. :(
> 
> This regex:
> 
> [`]{3}[\s\S]*?[`]{3}
> 
> looks to match a ``` and ``` Markdown code block in Oyster, but doesn’t in TextMate. Have I missed something else?
> 
> {   name = 'markup.raw.block.markdown';
>     match = '[`]{3}[\s\S]*?[`]{3}';
> }





More information about the textmate mailing list