on 81bfdec help sign in
59 lines 1.1 kB history raw
1-- |
2-- Module : Streamly.Unicode.Parser
3-- Copyright : (c) 2021 Composewell Technologies
4-- License : BSD-3-Clause
5-- Maintainer : streamly@composewell.com
6-- Stability : released
7-- Portability : GHC
8--
9-- To parse a text input, use the decode routines from
10-- "Streamly.Unicode.Stream" module to convert an input byte stream to a
11-- Unicode Char stream and then use these parsers on the Char stream.
13module Streamly.Unicode.Parser
14 (
15 -- * Single Chars
17 -- Any char
18 char
19 , charIgnoreCase
21 -- Char classes
22 , alpha
23 , alphaNum
24 , letter
25 , ascii
26 , asciiLower
27 , asciiUpper
28 , latin1
29 , lower
30 , upper
31 , mark
32 , printable
33 , punctuation
34 , separator
35 , space
36 , symbol
38 -- Digits
39 , digit
40 , octDigit
41 , hexDigit
42 , numeric
44 -- * Char Sequences
45 , string
46 , stringIgnoreCase
47 , dropSpace
48 , dropSpace1
50 -- * Digit Sequences (Numbers)
51 , decimal
52 , hexadecimal
54 -- * Modifiers
55 , signed
56 )
57where
59import Streamly.Internal.Unicode.Parser