Re[2]: Self-recognizing programs and regular expressions
Karsten Sperling <[email protected]>
| Newsgroups | gmane.comp.lang.perl.fun |
|---|---|
| Message-ID | <[email protected]> |
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