rougeth / bottery

[DEVELOPMENT-HALTED] :battery: A bot framework with batteries included
MIT License
344 stars 51 forks source link

Fix regex strings in tests and docs #183

Closed rougeth closed 6 years ago

rougeth commented 6 years ago

Strings are interpreted as Unicode strings in Python 3, in cases like handlers.regex('\d+', numbers) (docs/handlers.rst) the \ is treated as an escaped Unicode character. In this cases, raw string must be used.