develooper Front page | perl.fwp | Postings from March 2005

Re[2]: Self-recognizing programs and regular expressions

Thread Previous | Thread Next
From:
Karsten Sperling
Date:
March 8, 2005 08:01
Subject:
Re[2]: Self-recognizing programs and regular expressions
Message ID:
1415919250.20050308170156@stud.uni-karlsruhe.de
On Tuesday, March 8, 2005, Karsten Sperling wrote:
> This is as far as I got:
> ^(?=.{65}\\\\Q\\1\\\\E\\\)\z)(\Q^(?=.{65}\\\\Q\\1\\\\E\\\)\z)(\E)\\Q\1\\E\)

Or a bit shorter:
^(?=.{54}\\E\)\\\\Q\\1\z)(\Q^(?=.{54}\\E\)\\\\Q\\1\z)(\E)\\Q\1


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About