ftp.nice.ch/pub/next/developer/resources/classes/MOKit.1.0.0.s.tar.gz#/MOKit_1.0.0/Palettes/MORegexPalette

English.lproj/
 
MODateFormCellInspector.h
[View MODateFormCellInspector.h] 
MODateFormCellInspector.m
[View MODateFormCellInspector.m] 
MODateTextCellInspector.h
[View MODateTextCellInspector.h] 
MODateTextCellInspector.m
[View MODateTextCellInspector.m] 
MORegexFormCellInspector.h
[View MORegexFormCellInspector.h] 
MORegexFormCellInspector.m
[View MORegexFormCellInspector.m] 
MORegexPalette.h
[View MORegexPalette.h] 
MORegexPalette.m
[View MORegexPalette.m] 
MORegexTextCellInspector.h
[View MORegexTextCellInspector.h] 
MORegexTextCellInspector.m
[View MORegexTextCellInspector.m] 
Makefile
 
Makefile.postamble
 
Makefile.preamble
 
PB.project
 
README.rtf
[View README.rtf] 
palette.table
 

README.rtf

MOKit docs,  Copyright ©1992, 1993, 1994 by Mike Ferris.  All Rights Reserved.
By Mike Ferris  --  October 23rd, 1993

MORegexPalette


This palette contains ten items.  Four are Forms with MORegexFormCells in them, four are Matrix's with MORegexTextCells in them, one is a Form with a MODateFormCell in it, and the last is a Matrix with a MODateTextCell in it.

Basically what is provided is a generic form and text field, an integer form and text field, a floating point form and text field, a time form and text field, and a date form and text field.

The MORegex...Cell classes provide a generalised way of checking for complicated input types.  Each cell can have a set of regular expressions.  An entry will not be accepted unless it matches at least one of the regular expressions.  The regex classes also allow the retrieval of subexpression matches.

The MODate...Cell classes specifically check for dates.  They check as far as they can by regular expression, then they do the rest themselves.  (Number of days in a month and leap year stuff can't easily be done by regex.)  The date classes also allow reformatting of entered dates to customizable formats.


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.