I am using textmate to edit a file. I would like to remove all the lines not containing a word. Here is an example.
I\'ve noticed a side effect in Ruby/Oniguruma that is only present in 1 out of 4 seemingly equivalent statements. Why is the variable day defined in 009, but not in 003, 005 or 007?
I\'m not very good with regular expressions but in Textmate, I\'m trying to clear out some multi-lines in an XML file that looks like
I\'m using the oniguruma gem to get unicode-aware regexes in ruby 1.8.According to the syntax documentation, I should be able to use \\p{M} or \\p{Mark} to match code points with the Mark property.
Regular Expressions are a complete void for me. I\'m dealing with one right now in TextMate that does what I want it to do...but I don\'t know WHY it does what I want it to do.