[BusyBox] Newline doesn't match $
Pavel Roskin
pavel_roskin at geocities.com
Tue Jun 13 15:24:04 UTC 2000
Hello!
We have a problem with regular expressions - '$' doesn't match the
newline:
[proskin at sunapee busybox]$ echo hi | ./busybox grep hi$
[proskin at sunapee busybox]$ echo hi | grep hi$
hi
[proskin at sunapee busybox]$ echo hi | ./busybox sed -e 's/hi$/foo/'
hi
[proskin at sunapee busybox]$ echo hi | sed -e 's/hi$/foo/'
foo
"man regex" mentions REG_NEWLINE, but our regex implementation doesn't
seem to usderstand it.
More information about the busybox
mailing list