Tiny regex-like library