Hi, According to the rfc4512, \w is not good to match aginst attribuite type and options. Wtith the attached patch, options containing hyphens are sucessfully parsed. P.S. I submitted a bug report about regexp in ldap-search-internal last December, but now I understand that it was a mistake. -- /*** Hewlett-Packard Japan, Ltd. ***/ /*** Consulting & Integration ***/ /*** PC-CW-SOL#1 Professional Center ***/ /*** Nakagawa, Makoto(中川 誠) 050 3158 4747 (Dial-In) ***/ /*** PGP: 0B33 EAC3 F2F6 3D10 D9E9 AE7F 8EDA 44F9 1D29 D44A ***/