Module matchers

This module contains various string matchers for email addresses, etc.

Procs

proc validEmailAddress(s: string): bool {.noSideEffect, rtl, 
    extern: "nsuValidEmailAddress", raises: [], tags: [].}
returns true if s seems to be a valid e-mail address. The checking also uses a domain list.
proc parseInt(s: string; value: var int; validRange: TSlice[int]) {.
    noSideEffect, rtl, extern: "nmatchParseInt", raises: [], tags: [].}
parses s into an integer in the range validRange. If successful, value is modified to contain the result. Otherwise no exception is raised and value is not touched; this way a reasonable default value won't be overwritten.
Generated: 2014-03-11 21:26:38 UTC