Hi again.

Thanks for investigating further.

> Yes, I can reproduce the problem with coreutils-4.5.4:
>
> $ expr $'a\nb' : $'a.*\nb'
> 0

Does that mean you installed expr from coreutils-4.5.4?
Or do you have `.' very early in your path?
Maybe you meant ./expr?

> The default is without regex.  I tried --with-included-regex, which caused
> regex.o to be included into libfetish.a.  However, it didn't affect the
> bug.  The expression above still gives 0.  I'm using glibc-2.2.93 from Red
> Hat 8.0.
>
> However, replacing regex.c with an older version fixes the problem:
>
> $ ./expr $'a\nb' : $'a.*\nb'
> 3

I cannot reproduce the problem, not even --with-included-regex.
It always does this:

  $ ./expr $'a\nb' : $'a.*\nb'
  3

just about out of ideas...

Jim


_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to