Friday, December 9, 2011

Re: create line break

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*/\?>

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."

--
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

No comments: