File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33Revision history for the Python package RiveScript.
44
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+
519## 1.14.8 - Sept 5 2017
620
721This release focuses on bug fixes and backwards compatible improvements.
Original file line number Diff line number Diff line change 33%global desc A scripting language to make it easy to write responses for a chatterbot.
44
55Name: python-%{srcname }
6- Version: 1.14.8
6+ Version: 1.14.9
77Release: 1%{?dist }
88Summary: %{sum }
99
Original file line number Diff line number Diff line change 2020__docformat__ = 'plaintext'
2121
2222__all__ = ['rivescript' ]
23- __version__ = '1.14.8 '
23+ __version__ = '1.14.9 '
2424
2525from .rivescript import RiveScript
2626from .exceptions import (
You can’t perform that action at this time.
0 commit comments