aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed/sed-regex-match-newline
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-05-09 21:42:42 +0000
committerRob Landley <rob@landley.net>2005-05-09 21:42:42 +0000
commit540d3f60f378ed26962501c33b335623fe5fb0fa (patch)
treed1d847dde8db22ab7af9a24fb018250bb51060fb /testsuite/sed/sed-regex-match-newline
parentb9dfb8c03febea78ab1924b4924c381ca983891c (diff)
downloadbusybox-540d3f60f378ed26962501c33b335623fe5fb0fa.tar.gz
Patch from Shaun Jackman:
> This patch modfies expr to use portable POSIX regex rather than BSD > regex. ... > This updated patch implements an anchored regex by checking that the > match starts at offset 0. More to the point, this patch uses the same regex that sed.c is already using (opportunity to suck in less library code), and even building a dynamically linked busybox with just expr the result is a slightly smaller binary (by 94 bytes, I dunno what nm --size-sort has to say about it because I didn't build with debug info, since that changes the binary size a lot by disabling optimization...) Your mileage may vary. Handle with caution. Do not taunt happy fun ball.
Diffstat (limited to 'testsuite/sed/sed-regex-match-newline')
0 files changed, 0 insertions, 0 deletions