title: LDAP search filter expression utility or library
body: <p>in this project we intend to reuse ldap search expressions for a system other than the LDAP server itself.</p>
  
  <p>The idea is to fetch the expression - something like (|(attr1='A')(!(attr2='1'))) - and perform certain actions. Does anybody know of the existence of a library or utility to interpret such expressions ?</p>
  
  <p>Thanks</p>