[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: align multiple regexp in one line
From: |
Scott Frazer |
Subject: |
Re: align multiple regexp in one line |
Date: |
Wed, 31 Dec 2008 07:00:01 -0800 (PST) |
User-agent: |
G2/1.0 |
On Dec 31, 2:32 am, Fabian Braennstroem <f.braennstr...@gmx.de> wrote:
> Hi,
>
> I am trying to align lines with several characters, e.g.
> a comma separated list, with align-regexp.
> The line looks like:
> word1, word2 , word3, word5
> wordasdf1, wordasdlfk2 , wordasdlf3, word5
>
> Marking and using 'align-regexp ,' would just create the alignment
> according to the first comma.
> Is there a function, which aligns the whole region?
>
C-u M-x align-regexp \(\s-*\),RET RET RET y