[build] DARG: don’t check regex when equal to * (shortcut for nothing except required pattern)