Debian Codegraph @

debian/rust-vendor/fancy-regex/tests/oniguruma/README.md

raw
1 Oniguruma tests
2 ===============
3
4 The tests in here are from the Oniguruma project, namely the file
5 [`test_utf8.c`](https://github.com/kkos/oniguruma/blob/master/test/test_utf8.c).
6 See below for that file's license.
7
8 The `test_utf8_ignore.c` file is a subset with tests that were failing
9 against fancy-regex at the time of writing.
10
11 The test case in `oniguruma.rs` reads both files, and executes the tests
12 unless they are in the ignore file.
13
14 Some of the ignored tests should be fixed in fancy-regex, others can
15 probably stay ignored (e.g. supporting `a{3,2}`).
16
17
18 Oniguruma LICENSE
19 -----------------
20
21 Copyright (c) 2002-2019 K.Kosako <[email protected]>
22 All rights reserved.
23
24 Redistribution and use in source and binary forms, with or without
25 modification, are permitted provided that the following conditions
26 are met:
27 1. Redistributions of source code must retain the above copyright
28 notice, this list of conditions and the following disclaimer.
29 2. Redistributions in binary form must reproduce the above copyright
30 notice, this list of conditions and the following disclaimer in the
31 documentation and/or other materials provided with the distribution.
32
33 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
34 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
35 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
36 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
37 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
38 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
39 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
40 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
41 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
42 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
43 SUCH DAMAGE.
44