# Module matchers

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

# Imports

parseutils, strutils

# Procs

    proc validEmailAddress*(s: string): bool {.noSideEffect, rtl,
        extern: "nsuValidEmailAddress".}

  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".}

  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: 2012-09-23 21:47:54 UTC