[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5804) attribute value regex expantion



Emmanuel Dreyfus wrote:
> Howard Chu<hyc@symas.com>  wrote:
>
>> The slapd.access(5) manpage needs to be updated with this info. Please
>> provide a patch.
>
> That was done when I added the feature. From slapd.acces(5):
>         In addition, the regex style can exploit substring substitution
>         of submatches in the<what>  dn.regex  clause  by using  the  form
>         $<digit>,  with  digit  ranging  from 0 to 9 (where 0 matches the
>         entire string), or the  form  ${<digit>+},  for  submatches
>         higher than 9.  Substring substitution from attribute value can
>         be done in using the form ${v<digit>+}

Ah thanks, I was looking in the wrong paragraph.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/