From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 10 12:23:21 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F33BB1065676; Wed, 10 Feb 2010 12:23:21 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id B0BB88FC0C; Wed, 10 Feb 2010 12:23:21 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id B72241FFC22; Wed, 10 Feb 2010 12:23:20 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 8258D844C4; Wed, 10 Feb 2010 13:23:20 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Roman Divacky References: <86tytqvwky.fsf@ds4.des.no> <26049703-8844-4476-B277-776A4EFC0A53@gmail.com> <86fx59jpti.fsf@ds4.des.no> <20100210121401.GA81144@freebsd.org> Date: Wed, 10 Feb 2010 13:23:20 +0100 In-Reply-To: <20100210121401.GA81144@freebsd.org> (Roman Divacky's message of "Wed, 10 Feb 2010 13:14:01 +0100") Message-ID: <86ocjxi8jr.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Andrew Brampton , Garrett Cooper , freebsd-hackers@freebsd.org Subject: Re: sysctl with regex? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 12:23:22 -0000 Roman Divacky writes: > "Dag-Erling Sm=C3=B8rgrav" writes: > > Formally, a regular expression is a textual representation of a > > finite state machine that describes a context-free grammar. > I dont think so.... regular expressions describe regular languages > which are a strict subset of context free languages. The practical > difference is that you cannot describe for example expressions with > parenthesis with a regular expression while you can with a context > free grammar... You mean nested parentheses? You're right, I didn't think of that. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no