← all modules

Sky.Core.Regex

Sky.Core.Regex
  Sky.Core.Regex — RE2 regex helpers (Layer 3 Sky source).

Values
  find : String -> String -> Maybe String
      `find pattern s` — first match (Nothing if no match).
  findAll : String -> String -> List String
      `findAll pattern s` — every non-overlapping match in order.
  match : String -> String -> Bool
      `match pattern s` — does the pattern match anywhere in `s`?
  replace : String -> String -> String -> String
      `replace pattern replacement s` — replace every match with
  split : String -> String -> List String
      `split pattern s` — split on every match.