[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 0724c6dbdae: Use string-search instead of string-match[-p] wh
From: |
Yuan Fu |
Subject: |
Re: master 0724c6dbdae: Use string-search instead of string-match[-p] when possible |
Date: |
Sun, 26 Mar 2023 21:58:37 -0700 |
> On Mar 26, 2023, at 4:35 PM, Emanuel Berg <incal@dataswamp.org> wrote:
>
> Okay, I've never heard of this, because the byte-compiler
> don't complain and it isn't in the docstrings either what
> I can see.
>
> I have 14 string-match[-p], so what is the rule when they
> should be replaced by `string-search' and when not do that,
> and why?
When the search string shouldn’t be interpreted as regexp, I presume?
Yuan