Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Do you whitelist or blacklist utf-8? [SOLVED]



Josh,

Be careful with the "." in your Regexp. The "." matches *any* character,
so the above function will return TRUE for any String that contains at
least one character, whatever it is!

His . is inside a character class, where it becomes literal.

Agreed. My mistake.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links