-
Notifications
You must be signed in to change notification settings - Fork 86
Index of Module sanestring
Dustin edited this page Mar 2, 2016
·
3 revisions
Module: sanestring
The sanestring module contains procedures for testing that strings meet specific patterns. These procedures make use of the pregexp module. All procedures return false when the conditions are not met and return a one item list with the string s when then conditions are met.
Function | Short Description |
---|---|
(sanestring-alpha s) | Checks if the string contains only letters |
(sanestring-alphanum s) | Checks if the string contains only letter and numbers |
(sanestring-capostal s) | Checks if the string is a valid Canadian postal code |
(sanestring-dob s) | Checks if the string is a valid date in the format YYYY-MM-DD |
(sanestring-email s) | Checks if the string is a valid email |
(sanestring-height-cm s) | Checks if the string is a valid height in cm (integer between "30"-"229") |
(sanestring-hh s) | Checks if the string is a two digit integer between "00"-"23" |
(sanestring-hh:mm s) | Checks if the string is a valid time of day |
(sanestring-hours s) | Checks if the string is an integer between "0"-"23" |
(sanestring-ipaddr s) | Checks if the string is a valid IP address |
(sanestring-mm s) | Checks if the string is a two digit integer between "00"-"59" |
(sanestring-naphone s) | Checks if the string is a valid North American phone number |
(sanestring-nonempty s) | Checks if the string is not empty |
(sanestring-num s) | Checks if the string contains only the digits "0"-"9" |
(sanestring-months s) | Checks if the string is a valid month number "0-12" |
(sanestring-small-hours-decimal s) | Checks if the strings is a float between "0.0"-"19.9" |
(sanestring-weight-kg s) | Checks if the string is a valid weight in kg (float between "2.0"-"199.9") |
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip