Lazy device connect also works with regex. Fix #23