[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Regex pattern for LDIF
Joerg Henner wrote:
>
> On Die, 31 Okt 2000, Michael Ströder wrote:
>
> >Does anybody on the list have a regex pattern for LDIF-formatted
> >entry at hand?
>
> your searching something like this (?):
>
> #!/usr/bin/perl
Thanks for the code (this prints out LDIF?). Pardon my Perl
ignorance. I have written a LDIF-parser and -generator in Python.
;-)
I was rather looking for a simple regex for checking if the user has
entered LDIF in a web form. It does not have to be perfect. The
parser raises exceptions if something is wrong anyway.
Ciao, Michael.