hakyll-1.0.1: A simple static site generator library.

Text.Hakyll.Regex

Description

A module that exports a simple regex interface. This code is mostly copied from the regex-compat package at hackage.

Synopsis

Documentation

splitRegex :: String -> String -> [String]Source

Split a list at a certain element.

substituteRegexSource

Arguments

:: String

Pattern to replace (regex).

-> String

Replacement string.

-> String

Input string.

-> String

Result.

Substitute a regex. Simplified interface.