2a5a5b4753
Don't interpret the '0' character as end of search pattern. Use pattern length for that. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>