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

Re: Self-recognizing programs and regular expressions

Thread Previous | Thread Next
From:
Josh Goldberg
Date:
March 7, 2005 17:48
Subject:
Re: Self-recognizing programs and regular expressions
Message ID:
8f835b4f6a26bfec3100e5132acbe09e@3io.com
but you can't replace one of the leading \'s in the regexp (at least in 
perl), so I counted 16.

On Mar 7, 2005, at 4:49 PM, Jasvir Nagra wrote:

> I think its 255^2 + 8^17.  The two "." account for 255^2 and there are
> 8^17 strings of length 17 with an 8 character alphabet.
>
> On Mon, 2005-03-07 at 19:26 -0500, josh wrote:
>> sorry if some folks recieve this twice, my mail server is on the
>> fritz.
>>
>> ^.[\\[\]{}17.]{17}.$
>>
>> I think, 255^2 + 8^16 possible strings?
>>
>> my smtp capabilities are on the fritz, so my apologies if anyone
>> recieves
>> duplicate emails from me.
>>
>>
> -- 
> 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