added regex search functionality

Signed-off-by: Wouter Vroege <wouter@woutervroege.nl>