On Thu, May 16, 2013 at 11:14 PM, Jim Gibson wrote:
> The * in (.*) is "greedy", meaning the Perl regular expression engine will
> try to match as much as possible in each string after it finds the
> substring 'cn='. To make it "non-greedy", put a question mark after the
> quantifier: s/^cn=(.*?)
On Thu, 16 May 2013 21:57:55 +0200, Natxo Asenjo wrote:
>in a ldap script where I get a list of values of a multivalued >attribute like this:
>@memberof = qw( cn=group1,cn=xxx,dc=domain,dc=tld >cn=group2,cn=xxx,d=domain,dc=tld etc etc) ;
>I would like to use map to convert the list of element
Hi Natxo,
Please see my comment below:
On Thu, May 16, 2013 at 8:57 PM, Natxo Asenjo wrote:
> hi,
>
> in a ldap script where I get a list of values of a multivalued attribute
> like this:
>
> @memberof = qw( cn=group1,cn=xxx,dc=domain,dc=tld
> cn=group2,cn=xxx,d=domain,dc=tld etc etc) ;
>
Since
On May 16, 2013, at 12:57 PM, Natxo Asenjo wrote:
> hi,
>
> in a ldap script where I get a list of values of a multivalued attribute like
> this:
>
> @memberof = qw( cn=group1,cn=xxx,dc=domain,dc=tld
> cn=group2,cn=xxx,d=domain,dc=tld etc etc) ;
>
> I would like to use map to convert the lis