It's probably a useful idea to set align-indent-before-aligning t (true) before using align-regexp, otherwise it may muck up the code indentation.
emc
" When in doubt, use brute force." — Ken ThompsonIn reply to Re^2: Emacs cperl-mode: how to line up middles of rows?
by swampyankee
in thread Emacs cperl-mode: how to line up middles of rows?
by Roscoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |