Subject: bin/17597: sed regex problem
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nvass@mail.gr>
List: netbsd-bugs
Date: 07/14/2002 13:20:38
>Number:         17597
>Category:       bin
>Synopsis:       sed regex problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 14 13:21:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Nikos Vassiliadis
>Release:        1.5.2
>Organization:
>Environment:
Its not avaliable
>Description:
sed has a problem matching regular expression
when a combination of bounds and back references is used
>How-To-Repeat:
the following script does not work:

#!/bin/sed -nf
/a\(1,2\)\(..\)\1/p

it should match something like "abcbc" but it doesn't
>Fix:
Sorry. Thanks for NetBSD!
>Release-Note:
>Audit-Trail:
>Unformatted: