I've never seen it done that way. My approach would be a bit more idiomatic and (probably) easier to read, but the mechanism's a tiny bit obscure:
s/\n/<br>/g foreach ($var1, $var2);
--
:wq
In reply to Re: Multiple variable assignments with RexExp
by FoxtrotUniform
in thread Multiple variable assignments with RexExp
by blackjudas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |