diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-04-16 09:06:37 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-04-16 12:14:37 +0200 |
commit | 01436fddfb2587271391e72b7eaa6c5c541b46d8 (patch) | |
tree | db2fcca00fe7089bc0b42814d7298e533824b8b8 /admin/authors.el | |
parent | c77d6af1ddb4cc2a515397e955b8389fa9025d8c (diff) | |
download | emacs-01436fddfb2587271391e72b7eaa6c5c541b46d8.tar.gz |
Regularise some file-matching regexps
* admin/authors.el (authors-obsolete-files-regexps)
(authors-renamed-files-regexps): Replace ^ and $ with \` and \'.
Diffstat (limited to 'admin/authors.el')
-rw-r--r-- | admin/authors.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/admin/authors.el b/admin/authors.el index fd17a3394d8..13b203b9bc1 100644 --- a/admin/authors.el +++ b/admin/authors.el @@ -283,9 +283,9 @@ If REALNAME is nil, ignore that author.") (defvar authors-obsolete-files-regexps - '(".*loaddefs\\.el$" ; not obsolete, but auto-generated - "\\.\\(bzr\\|cvs\\|git\\)ignore$" ; obsolete or uninteresting - "\\.arch-inventory$" + '(".*loaddefs\\.el\\'" ; not obsolete, but auto-generated + "\\.\\(bzr\\|cvs\\|git\\)ignore\\'" ; obsolete or uninteresting + "\\.arch-inventory\\'" "ChangeLog\\(\\.[0-9]+\\)?\\'" "\\(automated\\|test\\)/data/" ; not interesting "cedet/tests/" @@ -1140,7 +1140,7 @@ Elements are (OLDNAME . NEWNAME).") \\(\\(cs\\|fr\\|sk\\)-\\)?survival\\)\\.tex\\'" "refcards/\\&") ("\\`refcard-\\(de\\|pl\\)\\.tex\\'" "refcards/\\1-refcard.tex") ("\\`\\(refcards/\\)?fr-drdref\\.tex\\'" "refcards/fr-dired-ref.tex") - ("^\\(TUTORIAL[^/]*\\)" "tutorials/\\1") + ("\\`\\(TUTORIAL[^/]*\\)" "tutorials/\\1") ("\\`themes/dev-\\(tsdh-\\(?:light\\|dark\\)-theme\\.el\\)\\'" "themes/\\1") ;; Moved from lisp/toolbar to etc/images. @@ -1165,9 +1165,9 @@ remove\\|run\\|until\\|up\\|watch\\)\\(\\.\\(?:pb\\|xp\\)m\\)\\'" ("\\`\\(toolbar/gud-\\|images/gud/\\)s\\(i\\)?\\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/gud/step\\2\\3") ("\\`toolbar/lc-\\([-a-z]+\\.xpm\\)\\'" "images/low-color/\\1") - ("^\\(tree-widget/\\(?:default\\|folder\\)/[-a-z]+\\.\\(png\\|xpm\\)\\)$" + ("\\`\\(tree-widget/\\(?:default\\|folder\\)/[-a-z]+\\.\\(png\\|xpm\\)\\)\\'" "images/\\1") - ("^\\(images/icons/\\)mac\\(emacs\\)_\\([0-9]+\\)\\(\\.png\\)" + ("\\`\\(images/icons/\\)mac\\(emacs\\)_\\([0-9]+\\)\\(\\.png\\)" "\\1\\2\\3_mac\\4") ("\\(images/icons/\\)emacs_\\([0-9][0-9]\\)\\.png" "\\1hicolor/\\2x\\2/apps/emacs.png") @@ -1198,10 +1198,10 @@ ediff\\|emerge\\|log-edit\\|log-view\\|pcvs\\|smerge-mode\\|vc\\)\\.el\\'" ;; Maybe not the exact new name, but disambiguates from lisp/. ("automated/\\([^/]*\\)\\.el\\'" "\\1-tests.el") ;; NB lax rules should come last. - ("^m/m-\\(.*\\.h\\)$" "m/\\1" t) - ("^m-\\(.*\\.h\\)$" "\\1" t) - ("^s/s-\\(.*\\.h\\)$" "s/\\1" t) - ("^s-\\(.*\\.h\\)$" "\\1" t) + ("\\`m/m-\\(.*\\.h\\)\\'" "m/\\1" t) + ("\\`m-\\(.*\\.h\\)\\'" "\\1" t) + ("\\`s/s-\\(.*\\.h\\)\\'" "s/\\1" t) + ("\\`s-\\(.*\\.h\\)\\'" "\\1" t) ("\\.\\(el\\|[ch]\\|x[pb]m\\|pbm\\)\\'" t t) ) "List of regexps and rewriting rules for renamed files. |