On Feb 22, 2006, at 2:08 AM, Haris wrote: You've done amazingly well with the bundle so far. I'm very impressed.
Thanks.
First of all, why don't you use the find&replace feature of TextMate? Then you could record the whole thing as a macro.
You know, I never even thought of that. I'll give it a shot.
Still, I'd like to know how to run a perl search/replace command with regex in the replace side properly for future reference.
So maybe a search without ^ and with ([^\n]+) instead of (.+)$ might do the trick.
tried that, didn't work. -------------------- I'll try these things and report in the morning on my progress. To bed now. Thanks again Haris, you are continually my savior.
On Feb 22, 2006, at 2:53 AM, Oliver Taylor wrote:
tried that, didn't work.
I'd start by trying some simpler regexps and replacements. for instance, can you match two lines, one having exactly the letters "HI" and the second the letters "THERE" ? This would at least give you an indication how to do multiple line searches through the perl engine, if it is even possible. Then you can build to more complicated stuff. Baby steps :)
Haris