Skip to main content

Tag: textmate

Switching to multi-line mode using Textmate Regex

So you have a pattern you want to match across multiple lines, and you have a regular expression that matches it. You will probably be used to doing this in perl like this: /some.+?stuff/s or using regex in ruby like this: /some.+?stuff/m However you have just started to get used to Textmate as an editor and you see it supports regex matching. Why though does it not use /s or /m for multi-line dot matching?

Textmate Posting Hiccup

Forgive my triple Post Hiccup. When Textmate posted my blog posts, I got errors. Thinking the post had not completed, I retried until I figured out the problem. If you use WordPress V2.3 and post with Textmate, then don’t try to add a new category when posting an article. You get this problem: <br /> Fatal error: Cannot use object of type WP_Error as array in wp-includes/taxonomy.php on line 1010<br /> Looks like I am not the only one.