• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help with validating a date input to a dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with validating a date input to a dialog


  • Subject: Re: Help with validating a date input to a dialog
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 30 Mar 2001 22:48:41 -0800

On 3/30/01 10:42 PM, Christopher C. Stone <email@hidden> wrote:

>Here's how I would do the date validation with RegEx Commands.
>
> set d to "05/04/1961"
>
> set flag to REMatch d pattern "^\\d\\d/\\d\\d/\\d\\d\\d\\d$"
>
> if flag is not "" then
> -- do your thing
> end if

thanks. If my friend had regex commands, it would work nicely, but she
doesn't, and I need to give her as simple a setup as possible.

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: Re: Help with validating a date input to a dialog
  • Next by Date: Automating Explorer (was Re: Help with validating a date input to a dialog
  • Previous by thread: Automating Explorer (was Re: Help with validating a date input to a dialog
  • Next by thread: Re: Help with validating a date input to a dialog
  • Index(es):
    • Date
    • Thread