Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 22:04:30 +0100
From:      rank1seeker@gmail.com
To:        hackers@freebsd.org
Subject:   Is this a regex bug?
Message-ID:  <20140126.210430.622.1@DOMY-PC>

next in thread | raw e-mail | index | archive | help
Or am I crazy?=0D=0A=0D=0Aecho '-m' | egrep '^\-[[:alnum:]]+$'=0D=0Aecho =
'-n' | egrep '^\-[[:alnum:]]+$'=0D=0Aecho '-o' | egrep =
'^\-[[:alnum:]]+$'=0D=0A=0D=0AGuess what?=0D=0AOnly middle one, '-n' =
doesn't match it.=0D=0AIs this an RE bug or I clearly ain't seeing =
obvious?!=0D=0A=0D=0Aecho '-n' | egrep '^\-[0-9A-Za-z]+$'=0D=0A    =
Doesn't work either=0D=0A=0D=0A9.2-RELEASE-p3  =
i386=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140126.210430.622.1>