Yes, sadly I was trying for multiple lines. I read about that in the docs, but didn’t get a full appreciation for the implications until I read your article: http://www.apeth.com/nonblog/stories/textmatebundle.html
That is recommended reading for anyone working on TextMate 2 grammar definitions.
On Feb 8, 2015, at 7:12 PM, Matt Neuburg matt@tidbits.com wrote:
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@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}'; }
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate