Skip to content

Commit c747b15

Browse files
committed
Update release notes and copyright notice
1 parent ac572a5 commit c747b15

16 files changed

+29
-15
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Peter M. Stahl pemistahl@gmail.com
1+
# Copyright © 2019-2020 Peter M. Stahl pemistahl@gmail.com
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Peter M. Stahl pemistahl@gmail.com
1+
# Copyright © 2019-2020 Peter M. Stahl pemistahl@gmail.com
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright © 2019 Peter M. Stahl pemistahl@gmail.com
2+
# Copyright © 2019-2020 Peter M. Stahl pemistahl@gmail.com
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2019 Peter M. Stahl pemistahl@gmail.com
1+
# Copyright © 2019-2020 Peter M. Stahl pemistahl@gmail.com
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

RELEASE_NOTES.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## grex 0.3.1 (released on 06 Jan 2020)
2+
3+
### Test Coverage
4+
- property tests have been added using the [proptest](https://crates.io/crates/proptest) crate
5+
- big thanks go to [Christophe Biocca](https://github.com/christophebiocca) for pointing me to the concept of property tests in the first place and for writing an initial implementation of these tests
6+
7+
### Bug Fixes
8+
- some regular expression specific characters were not escaped correctly in the generated expression
9+
- expressions consisting of a single alternation such as `^(abc|xyz)$` were missing the outer parentheses. This caused an erroneous match of strings such as `abc123` or `456xyz` because of precedence rules.
10+
- the created DFA was wrong for repetition conversion in some corner cases. The input `a, aa, aaa, aaaa, aaab` previously returned the expression `^a{1,4}b?$` which erroneously matches `aaaab`. Now the correct expression `^(a{3}b|a{1,4})$` is returned.
11+
12+
### Documentation
13+
- some minor documentation updates
14+
115
## grex 0.3.0 (released on 24 Dec 2019)
216

317
### Features

src/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2019 Peter M. Stahl pemistahl@gmail.com
2+
* Copyright © 2019-2020 Peter M. Stahl pemistahl@gmail.com
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/dfa.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2019 Peter M. Stahl pemistahl@gmail.com
2+
* Copyright © 2019-2020 Peter M. Stahl pemistahl@gmail.com
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2019 Peter M. Stahl pemistahl@gmail.com
2+
* Copyright © 2019-2020 Peter M. Stahl pemistahl@gmail.com
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/grapheme.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2019 Peter M. Stahl pemistahl@gmail.com
2+
* Copyright © 2019-2020 Peter M. Stahl pemistahl@gmail.com
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2019 Peter M. Stahl pemistahl@gmail.com
2+
* Copyright © 2019-2020 Peter M. Stahl pemistahl@gmail.com
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)