sysctl with regex?

Dag-Erling Smørgrav des at des.no
Wed Feb 10 12:23:22 UTC 2010


Roman Divacky <rdivacky at freebsd.org> writes:
> "Dag-Erling Smørgrav" <des at des.no> 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list