svn commit: r241647 - user/crees/rclint

Eitan Adler eadler at freebsd.org
Wed Oct 17 23:51:52 UTC 2012


more fun!

On 17 October 2012 16:17, Chris Rees <crees at 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


More information about the svn-src-user mailing list