File: Lex.hs

package info (click to toggle)
haskell-regex 1.1.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 424 kB
  • sloc: haskell: 4,533; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module Text.RE.Tools.Lex
  (
  -- * Find
  -- $tutorial
    alex
  , alex'
  -- * IsRegex
  , IsRegex(..)
  , SearchReplace(..)
  , searchReplaceAll
  , searchReplaceFirst
  -- * Replace
  , module Text.RE.Replace
  ) where

import           Text.RE.Replace
import           Text.RE.Tools.IsRegex
import           Text.RE.ZeInternals.Tools.Lex

-- $tutorial
-- The Lex toolkit uses REs to identify tokens in a file, returning a
-- list of tokens.
--
-- See the Regex Tools tutorial at http://re-tutorial-tools.regex.uk