Front page | perl.beginners |
Postings from August 2009
Re: two questions
Thread Previous
|
Thread Next
From:
John W. Krahn
Date:
August 5, 2009 08:06
Subject:
Re: two questions
Message ID:
4A79A002.5040600@shaw.ca
Chas. Owens wrote:
> On Wed, Aug 5, 2009 at 10:01, John W. Krahn<jwkrahn@shaw.ca> wrote:
> snip
>>> If you want to use the string in a URL then it cannot be truly random,
>>> because
>>> not every character can appear in a URL.
>> That does not make sense.
> snip
>
> I believe he/she meant that not every character is allowed in a regex,
But... every character *is* allowed in a regex.
> so you can't just generate a random string made up of any characters.
> You must use a restricted character set.
Yes, but, you can use any number of encoding schemes to translate "any
character" to an "unrestricted character".
John
--
Those people who think they know everything are a great
annoyance to those of us who do. -- Isaac Asimov
Thread Previous
|
Thread Next