Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Japanese Regex (Ruby on Rails)
- Date: Wed, 22 Apr 2009 10:21:02 +0900
- From: JC Helary <brandelune@example.com>
- Subject: Re: [tlug] Japanese Regex (Ruby on Rails)
- References: <2d4c9c600904211734o2217ac64gfe004f9e121d4170@example.com>
On mercredi 22 avr. 09, at 09:34, Patrick Niessen wrote:Hi everyone, I am trying to find the Japanese / Unicode equivalent for the following Regular Expression, to verify web form input: validates_format_of :screen_name, :with =>/^[A-Z0-9._]*$/i,:message => "must contain only letters, numbers and undescore % or dots."My guess is, that normal characters live within a defined range so I suppose one only needs to check whether the submitted forms parameter are within that range.Check that page: http://www.regular-expressions.info/unicode.htmlThere are Unicode properties that can be used pretty much as character classes in regex.Jean-Christophe Helary
- Follow-Ups:
- Re: [tlug] Japanese Regex (Ruby on Rails)
- From: Patrick Niessen
- References:
- [tlug] Japanese Regex (Ruby on Rails)
- From: Patrick Niessen
Home | Main Index | Thread Index
- Prev by Date: [tlug] [OT] Any Job Openings?
- Next by Date: Re: [tlug] [OT] Any Job Openings?
- Previous by thread: [tlug] Japanese Regex (Ruby on Rails)
- Next by thread: Re: [tlug] Japanese Regex (Ruby on Rails)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links