Module matchers

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

Procs

proc validEmailAddress(s: string): bool {.noSideEffect, gcsafe, 
    extern: "nsuValidEmailAddress", raises: [], tags: [].}
returns true if s seems to be a valid e-mail address. The checking also uses a domain list.   Source
proc parseInt(s: string; value: var int; validRange: Slice[int]) {.noSideEffect, 
    gcsafe, 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.   Source