[Javascript] regular expressions for Javascript

Flavio Gomes flavio at economisa.com.br
Thu May 13 14:29:13 CDT 2004


Yeah Shawn, it's as I do: I never review my own stuff..

More "comments":

/[a-z]/ Matches a character that is a letter.  <== That's Ok

/[^a-z]/ Matches a character that is a letter. <== You repeated o.O

/[0-9]/ Matches a character that is not a number. <== It matches 
numbers  ( \D or [^0-9] )


-- 
Flavio Gomes
flavio at economisa.com.br


Shawn Milo wrote:

>Flavio,
>
>Great catches, thanks.  They have been corrected.
>
>This is why you don't let the writer proofread his own work.  ;o)
>
>Shawn
>
><snip>
>  
>
>>two Comments:
>>
>>"?" 
>>  => Forgot to explain in Regex Basics
>>"/[a-z]/ Matches a character that is not a letter."
>>  => Is it right?
>>
>>-- 
>>Flavio Gomes
>>flavio at economisa.com.br
>>    
>>
><snip> 
>
>  
>



More information about the Javascript mailing list