summaryrefslogtreecommitdiff
path: root/tests/test_words.py
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023.Matthäus G. Chajdas2023-03-291-1/+1
|
* Fix some pyflakes lints in tests/ and scripts/ (#2333)Jean Abou-Samra2023-02-011-1/+0
|
* Improve whitespace handling in CMake/RegexLexer.Matthäus G. Chajdas2022-12-041-1/+1
|
* Happy new year.Georg Brandl2022-01-251-1/+1
|
* Fix FutureWarning for words() with "[" (#1854)Jean-Abou-Samra2021-07-061-0/+366
regex_opt() groups characters in sets when possible. The warning was caused when the "[" character ended up at the beginning of a set: r"[[...]". This emits a FutureWarning since Python 3.7 due to possible changes in semantics in the future (https://bugs.python.org/issue30349). Just add "[" to the list of characters that should be escaped in sets. Add unit tests for words(). [Closes #1853.]