• R/O
  • SSH
  • HTTPS

dic-lookup-w3m: Commit


Commit MetaInfo

Revision102 (tree)
Zeit2018-05-27 01:21:22
Autordlw

Log Message

r100更新失敗。dic-lookup-w3m-filter-delete-regions, dic-lookup-w3m-filter-replace-regexp

Ändern Zusammenfassung

Diff

--- dic-lookup-w3m.el (revision 101)
+++ dic-lookup-w3m.el (revision 102)
@@ -500,9 +500,8 @@
500500 (goto-char (point-min))
501501 (re-search-forward "<body[^>]+>\\|<body>" nil t)
502502 (goto-char (match-beginning 0))
503- (while ;;(re-search-forward "\\(<[^>]+>\\)\\([^>]*\\)<" nil t)
504- (re-search-forward "\\(<[^>\"]+\\(\"[^\"]+\"\\)?[^>]*>\\)\\([^>\"]*\\)<" nil t)
505- (setq s (match-beginning 3) e (match-end 3))
503+ (while (re-search-forward "\\(<[^>]+>\\)\\([^>]*\\)<" nil t)
504+ (setq s (match-beginning 2) e (match-end 2))
506505 (cond ((string-match "^<a[^a-z]" (match-string 1)) (setq inhref t))
507506 ((string-match "^</a[^a-z]" (match-string 1)) (setq inhref nil)))
508507 (goto-char e)
Show on old repository browser