Searching in libdm/regex