From: Chris R. <chr...@me...> - 2002-04-30 12:59:32
|
Graham Barr <gb...@po...> wrote: > Yes, change the line in the pattern from > > (?:[^\\",=+<>\#;]*[^\\",=+<>\#;\s]|\\(?:[\\ > ",=+<>#;]|[0-9a-fA-F]{2}))* > > to > > (?:[^\\",=+<>\#;]*[^\\",=+<>\#;\s]|\s*\\(?:[\\ > ",=+<>#;]|[0-9a-fA-F]{2}))* > > I have added these to the test suite > > Graham. > > > On Sat, Apr 27, 2002 at 04:51:24PM +0200, Norbert Klasen wrote: >> Hi, >> anybody knows why the regex in ldap_explode_dn doesn't match these? >> >> CN=John Smith \, III,DC=example,DC=net >> CN=John Smith \2C III,DC=example,DC=net Here's another example of a tricky DN that might be worth testing: distinguishedNameTableKey=cn\=DSA\, c\=GB, cn=bilateral table, cn=DSA, c=US (The syntax of distinguishedNameTableKey is DistinguishedName, for the curious.) Cheers, Chris |