File tree 3 files changed +16
-2
lines changed
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Revision history for the Python package RiveScript.
4
4
5
+ ## 1.14.9 - Sept 21 2017
6
+
7
+ This release fixes some regular expressions and adds better Unicode
8
+ compatibility for trigger matching.
9
+
10
+ - Fix the regexp that matches ` {weight} ` tags in replies to use ` re.search() `
11
+ instead of ` re.match() ` . This ensures that random replies are chosen with the
12
+ correct weighting applied (bug #102 ; PR #106 )
13
+ - Fix the way arrays are interpolated into triggers so that array names are
14
+ now allowed to contain underscores (bug #101 ; PR #107 )
15
+ - Fix Unicode handling in regular expressions by using the ` re.UNICODE ` flag.
16
+ This allows for a trigger containing optionals, like ` [*] ` , to match
17
+ correctly when adjacent to Unicode symbols such as umlauts (bug #37 ; PR #108 )
18
+
5
19
## 1.14.8 - Sept 5 2017
6
20
7
21
This release focuses on bug fixes and backwards compatible improvements.
Original file line number Diff line number Diff line change 3
3
%global desc A scripting language to make it easy to write responses for a chatterbot.
4
4
5
5
Name: python-%{srcname }
6
- Version: 1.14.8
6
+ Version: 1.14.9
7
7
Release: 1%{?dist }
8
8
Summary: %{sum }
9
9
Original file line number Diff line number Diff line change 20
20
__docformat__ = 'plaintext'
21
21
22
22
__all__ = ['rivescript' ]
23
- __version__ = '1.14.8 '
23
+ __version__ = '1.14.9 '
24
24
25
25
from .rivescript import RiveScript
26
26
from .exceptions import (
You can’t perform that action at this time.
0 commit comments