On Fri, Dec 9, 2011 at 11:23 AM, Ben Fritz <fritzophre...@gmail.com> wrote: > > > On Dec 9, 3:43 am, "John Beckett" <johnb.beck...@gmail.com> wrote: >> I would be inclined to replace "<br />" with "<br\s*/>". >> > > I'd go even further, with <br\s*/\?>
Good suggestions by both of you. In this case I knew what the break tags were exactly since I created them. > But sometimes a quick "shooting from the hip" regex is better than > puzzling over a fully correct one. > > I try to remember the common advice, "If you ever come upon a problem, > and you think, 'I could use a regex to solve this!', now you have two." > That is so true -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php