Date: Wed, 17 Oct 2012 19:51:18 -0400 From: Eitan Adler <eadler@freebsd.org> To: Chris Rees <crees@freebsd.org> Cc: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: Re: svn commit: r241647 - user/crees/rclint Message-ID: <CAF6rxgm142pL-wxQXdyO0YQ5nfpMuZuwXyyP2W82DTYAhNGvZQ@mail.gmail.com> In-Reply-To: <201210172017.q9HKHuPT054844@svn.freebsd.org> References: <201210172017.q9HKHuPT054844@svn.freebsd.org>
index | next in thread | previous in thread | raw e-mail
more fun!
On 17 October 2012 16:17, Chris Rees <crees@freebsd.org> wrote:
> +#regex explain explanation
> +^[^#{}.l\s][^-=()]*[^)]$ Unassociated shell command Do not put shell commands outside functions-- it slows down rc on boot and every invocation of the rc file
is this missing a \ before the \?
> def get_assignment(line):
> try:
> - return re.match('(\S+)=(\S+)$', line).groups()
> + return re.match('(\S+)=(.+)$', line).groups()
ditto
--
Eitan Adler
Source & Ports committer
X11, Bugmeister, Ports Security teams
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgm142pL-wxQXdyO0YQ5nfpMuZuwXyyP2W82DTYAhNGvZQ>
