* Re: [Emacs-diffs] emacs-25 24a5f57: * lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445).
[not found] ` <20170116042508.8F443220134@vcs.savannah.gnu.org>
@ 2017-01-16 4:49 ` Stefan Monnier
0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2017-01-16 4:49 UTC (permalink / raw)
To: emacs-devel; +Cc: Ian Dunn
> (when (or (string-match "^\\([0-9]+\\) *;.*url=\"\\([^\"]+\\)\"" refresh)
> + (string-match "^\\([0-9]+\\) *;.*url='\\([^']+\\)'" refresh)
> (string-match "^\\([0-9]+\\) *;.*url=\\([^ ]+\\)" refresh))
BTW, this can be consolidated into
(string-match (eval-when-compile
(concat "^\\([0-9]+\\) *;.*url="
"\\(?:\"\\(?2:[^\"]+\\)\""
"\\|'\\(?2:[^']+\\)'"
"\\|\\(?2:[^ ]+\\)"
"\\)"))
refresh)
-- Stefan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-16 4:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20170116042508.6705.40178@vcs.savannah.gnu.org>
[not found] ` <20170116042508.8F443220134@vcs.savannah.gnu.org>
2017-01-16 4:49 ` [Emacs-diffs] emacs-25 24a5f57: * lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445) Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.