[MPlayer-cvslog] r23862 - trunk/configure

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jul 26 11:01:24 CEST 2007


Hello,
On Wed, Jul 25, 2007 at 09:02:29PM +0200, uau wrote:
> All features were disabled because of a regexp that used "[^ ]" to
> match start of a word. '^' is not a metacharacter meaning beginning
> of line inside [], instead it inverts the matching condition of the
> other characters in the list.

Argh, stupid me.

> -  if ` echo $2 | grep "[^ ]$part[ $]" > /dev/null `; then
> +  if ` echo $2 | grep "\<$part\>" > /dev/null `; then

in my test the more standard

if ` echo $2 | grep "[ ^]$part[ $]" > /dev/null `; then

(i.e. space and ^ exchanged) work, can someone confirm?
And does someone consider that preferable?

Greetings,
Reimar Döffinger



More information about the MPlayer-cvslog mailing list