Skip to content

1.14.9 - Sept 21 2017

Compare
Choose a tag to compare
@kirsle kirsle released this 21 Sep 18:29
· 12 commits to master since this release

Changes

This release fixes some regular expressions and adds better Unicode
compatibility for trigger matching.

  • Fix the regexp that matches {weight} tags in replies to use re.search()
    instead of re.match(). This ensures that random replies are chosen with the
    correct weighting applied (bug #102; PR #106)
  • Fix the way arrays are interpolated into triggers so that array names are
    now allowed to contain underscores (bug #101; PR #107)
  • Fix Unicode handling in regular expressions by using the re.UNICODE flag.
    This allows for a trigger containing optionals, like [*], to match
    correctly when adjacent to Unicode symbols such as umlauts (bug #37; PR #108)