[TxMt] Re: TextMate Regex vs Oyster Regex

Bob Rockefeller bob at bobrockefeller.com
Sun Feb 8 22:48:06 UTC 2015


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}';
},

Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com <http://www.bobrockefeller.com/>
> On Feb 8, 2015, at 5:36 PM, Matt Neuburg <matt at tidbits.com> wrote:
> 
> 
> On Feb 8, 2015, at 2:02 PM, Bob Rockefeller <bob at bobrockefeller.com> wrote:
> 
>> I use the app Oyster on Mac to edit and debug regexs. It works nicely, but doesn’t properly predict what TextMate will do with a regex. Something that works in Oyster, does not in TextMate.
>> 
>> Has anyone using Mac found a regex editor that predicts TextMate?
> 
> TextMate uses Oniguruma. So does Ruby, so any Ruby regex tester will apply. I like http://rubular.com. m.
> 
> --
> matt neuburg, phd = http://www.apeth.net/matt/
> pantes anthropoi tou eidenai oregontai phusei
> Programming iOS 8! http://shop.oreilly.com/product/0636920034261.do
> iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
> RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20150208/e91d8fd9/attachment-0001.html>


More information about the textmate mailing list