diff options
author | lWarne <laurencewarne@gmail.com> | 2022-08-06 15:01:38 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-08-06 15:01:38 +0200 |
commit | d8abff398bc45a791783c5c463838ba6fa3f030e (patch) | |
tree | b9d1fea79c715cc881a83a2201343f50194d78ce /test/lisp/emacs-lisp | |
parent | 83496888aaed10de35b3cbce695600300a30af84 (diff) | |
download | emacs-d8abff398bc45a791783c5c463838ba6fa3f030e.tar.gz emacs-d8abff398bc45a791783c5c463838ba6fa3f030e.tar.bz2 emacs-d8abff398bc45a791783c5c463838ba6fa3f030e.zip |
Fontify python escape sequences in literals
* lisp/progmodes/python.el (python-rx): Add regular expressions
matching escape codes in string and byte literals
(python--string-bytes-literal-matcher): new function
(python--not-raw-bytes-literal-start-regexp): new constant
(python--not-raw-string-literal-start-regexp): new constant
* test/lisp/progmodes/python-tests.el: Add tests for new
fontification (bug#57004).
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions