public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/693] New: mishandled '\B'
@ 2005-01-25 10:32 kasal at ucw dot cz
  2005-01-25 13:53 ` [Bug regex/693] " tee at sgi dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: kasal at ucw dot cz @ 2005-01-25 10:32 UTC (permalink / raw)
  To: glibc-bugs-regex

The GNU extension '\B' has always meant non-\b.
The dfa.[ch] code included in grep and gawk still handles it this way.
Try echo '  ' | grep ' \B ' on your system, try gsub(/ \B /,...) in gawk-3.1.1
or gawk '/ B /' with current gawk.

I have checked Perl documentation; it also defines '\B' and non-\b.

But current regex has changed to interpret '\B' as inword space.  Try the above
gsub with current awk.

See also http://lists.gnu.org/archive/html/bug-gnu-utils/2005-01/msg00087.html

IMHO, the current regex code is not correct.

-- 
           Summary: mishandled '\B'
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: regex
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: kasal at ucw dot cz
                CC: glibc-bugs-regex at sources dot redhat dot com,glibc-
                    bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=693

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-02-16 11:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-25 10:32 [Bug regex/693] New: mishandled '\B' kasal at ucw dot cz
2005-01-25 13:53 ` [Bug regex/693] " tee at sgi dot com
2005-01-25 14:08 ` jakub at redhat dot com
2005-01-25 17:11 ` karl at freefriends dot org
2005-01-26 13:44 ` arnold at skeeve dot com
2005-01-26 17:33 ` jakub at redhat dot com
2005-01-30 12:09 ` arnold at skeeve dot com
2005-01-30 13:33 ` paolo dot bonzini at lu dot unisi dot ch
2005-01-31  5:40 ` kasal at ucw dot cz
2005-01-31  7:54 ` arnold at skeeve dot com
2005-02-16  4:19 ` roland at gnu dot org
2005-02-16 11:09 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).