File: TestBench.hs

package info (click to toggle)
haskell-regex 1.1.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 424 kB
  • sloc: haskell: 4,533; makefile: 3
file content (44 lines) | stat: -rw-r--r-- 1,005 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
{-# LANGUAGE OverloadedStrings                  #-}

module Text.RE.TestBench
  (
  -- * The Test Bench Tutorial
  -- $tutorial

  -- * The Test Bench
    MacroEnv
  , MacroDescriptor(..)
  , RegexSource(..)
  , WithCaptures(..)
  , RegexType
  , isTDFA
  , isPCRE
  , presentRegexType
  -- ** Constructing a MacrosEnv
  , mkMacros
  -- ** Formatting Macros
  , formatMacroTable
  , formatMacroSummary
  , formatMacroSources
  , formatMacroSource
  , mdRegexSource
  -- ** Formatting Macros
  , testMacroEnv
  , runTests
  , runTests'
  -- * The Parsers
  , module Text.RE.TestBench.Parsers
  -- * The Match Type
  , Match
  ) where

import           Text.RE.TestBench.Parsers
import           Text.RE.ZeInternals.TestBench
import           Text.RE.ZeInternals.Types.Match

-- $tutorial
-- This API module provides a test bench for developing, documenting and
-- testing regex RE macros.
--
-- See the tutorials at http://re-tutorial-testbench.regex.uk