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

Re: Self-recognizing programs and regular expressions

Thread Previous | Thread Next
From:
Jasvir Nagra
Date:
March 7, 2005 17:19
Subject:
Re: Self-recognizing programs and regular expressions
Message ID:
1110244598.15517.87.camel@stoic
You're right.  I guess an inequ cannot end with a $ then.

On Tue, 2005-03-08 at 01:50 +0100, Karsten Sperling wrote:
> 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.
> 
-- 
Jasvir Nagra
http://www.cs.auckland.ac.nz/~jas


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