Oct 30, 2004, 2:55 PM
i got to thinkin (i went and took a shower), and i think i might know the answer to my second question. tell me if this is right:
Re: [Larkdog] converting letters to corresponding numbers
a-zA-Z\.\? means all the characters in the hash_code and the '^' means 'not', and because i have no control over the user input (and the fact that there are way more characters available than are in the hash code), the s/[^a-zA-Z\.\?\s]//gi searches out all characters that i dont accept and in essence deletes them.
is that right?
(This post was edited by Larkdog on Oct 30, 2004, 2:56 PM)