Debian Codegraph @

vendor/re/src/emacs.mli

raw
1 (*
2 RE - A regular expression library
3
4 Copyright (C) 2001 Jerome Vouillon
5 email: [email protected]
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation, with
10 linking exception; either version 2.1 of the License, or (at
11 your option) any later version.
12
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
17
18 You should have received a copy of the GNU Lesser General Public
19 License along with this library; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 *)
22
23 (** Emacs-style regular expressions *)
24
25 exception Parse_error
26
27 (** Errors that can be raised during the parsing of the regular expression *)
28 exception Not_supported
29
30 (** Parsing of an Emacs-style regular expression *)
31 val re : ?case:bool -> string -> Core.t
32
33 (** Regular expression compilation *)
34 val compile : Core.t -> Core.re
35
36 (** Same as [Core.compile] *)
37 val compile_pat : ?case:bool -> string -> Core.re