https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235293
Bob Bishop <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Bob Bishop <[email protected]> --- BSD sed behaves as documented. Per re_format(7): "Obsolete (``basic'') regular expressions differ in several respects. `|' is an ordinary character and there is no equivalent for its functionality." Rewrite the RE as follows to achieve the desired outcome: echo "__adddsf3" | sed 's/\(.*\)\([sd]f\)/\1 \2/' __addd sf3 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
