[Cologne-pm] regexp

Johannes Huettemeister j.huettemeister at googlemail.com
Thu Oct 19 11:18:31 PDT 2006


hey danke, das klappt fuer meine Testdaten.
Ich hatte ehrlich gesagt nich daran gedacht die extensions aufzusplitten ;-)

2006/10/19, A. Pagaltzis <pagaltzis at gmx.de>:
>
> * Johannes Huettemeister <j.huettemeister at googlemail.com> [2006-10-19
> 18:40]:
> > ich suche eine Regex, die auf alle Strings zutrifft, die nicht
> > die Strings jpg, png oder gif enthält. Also gerade nicht
> > (?:jpg|png|gif) (an lower/upper case muß ich natürlich auch
> > noch denken).
>
> Ungetestet:
>
>     ^(?:[^pjg]|p(?!ng)|j(?!pg)|g(?!if))*$
>
> Gruss,
> --
> #Aristoteles
> *AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined
> wantarray]/e;$1};
> &Just->another->Perl->hacker;
> _______________________________________________
> Cologne-pm mailing list
> Cologne-pm at pm.org
> http://mail.pm.org/mailman/listinfo/cologne-pm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/cologne-pm/attachments/20061019/45649b0d/attachment.html 


More information about the Cologne-pm mailing list