Fix ignored ldap condition when using a regex

Option is there in the web UI to use a regex on a ldap attribute but it's not implemented in the model. This applies the regex in the ldap filter.