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

Re: Self-recognizing programs and regular expressions

Thread Previous | Thread Next
From:
Karsten Sperling
Date:
March 7, 2005 16:50
Subject:
Re: Self-recognizing programs and regular expressions
Message ID:
1899886964.20050308015037@stud.uni-karlsruhe.de
On Monday, March 7, 2005, Jasvir Nagra wrote:
> The par entry is:
> Entry           Score
> ^.{6}$          255^6

Strictly speaking that would be 2 * 255^6 because of the optional
trailing newline. Still, it's better than ^.{7}\z with 255^7.


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