bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25445: Bug (Trunk): Redirect fails in Duckduckgo


From: Achim Gratz
Subject: bug#25445: Bug (Trunk): Redirect fails in Duckduckgo
Date: Mon, 16 Jan 2017 19:12:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux)

address@hidden writes:
>        (when (or (string-match "^\\([0-9]+\\) *;.*url=\"\\([^\"]+\\)\"" 
> refresh)
> +                (string-match "^\\([0-9]+\\) *;.*url=\'\\([^\']+\\)\'" 
> refresh)
>                  (string-match "^\\([0-9]+\\) *;.*url=\\([^ ]+\\)" refresh))

Why not use a regex with alternatives and do just a single match?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra






reply via email to

[Prev in Thread] Current Thread [Next in Thread]