Nice one Jerry, that was rather obvious :OP

So is there no posix char class that wraps all non letters and numbers?

Ade

-----Original Message-----
From: Jerry Johnson [mailto:[EMAIL PROTECTED]]
Sent: 25 September 2002 17:30
To: CF-Talk
Subject: Re: RegEx - POSIX


Why not negate letters and numbers (rather that listing those you can;t
have, list only those you can)

[^[:alnum:]]

Jerry Johnson

>>> [EMAIL PROTECTED] 09/25/02 12:17PM >>>
Looking in the books, PUNCT doesn't seem to include double or single quotes.
Is there one that includes ALL non letters or numbers?

I have a form that needs the user can only put letters and numbers in. I've
started using RegExs over other ways of checking the field, I thought punct
covered all bases. Am I wrong, is there something out there that does?

Adrian Lynch
Thoughtbubble Ltd
----------------------
United Kingdom
http://www.thoughtbubble.net 
Ph: +44 (0) 20 7387 8890
----------------------
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s) . Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0) 20 7387 8890




______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to