|
From: | Andreas Schwab |
Subject: | Re: bug#68401: 30.0.50; ERC 5.6-git: `erc-cmd-GMSG', `erc-cmd-AMSG', `erc-cmd-GME', `erc-cmd-AME'. 2nd attempt |
Date: | Mon, 22 Jan 2024 21:52:16 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
On Jan 22 2024, Emanuel Berg wrote: > (defun erc-drop-leading-whitespace (str) > (if (string-match " \\(.*\\)" str) > (match-string 1 str) > str) ) (erc-drop-leading-whitespace "foo bar") => "bar" -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
[Prev in Thread] | Current Thread | [Next in Thread] |