[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matching regex case-sensitively in C strings?
From: |
Eli Zaretskii |
Subject: |
Re: Matching regex case-sensitively in C strings? |
Date: |
Tue, 08 Nov 2022 14:29:41 +0200 |
> From: Mattias Engdegård <mattiase@acm.org>
> Date: Tue, 8 Nov 2022 11:18:10 +0100
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel <emacs-devel@gnu.org>
>
> > // What does freezing a pattern do?
> > freeze_pattern (cache_entry);
>
> It locks the compiled pattern record to make the regexp engine reentrant (but
> here it also seems to be used for GC purposes; not sure about that).
See shrink_regexp_cache, which is called by GC. You don't want this
to happen to you when you are in the middle of a regexp search.
- Matching regex case-sensitively in C strings?, Yuan Fu, 2022/11/07
- Re: Matching regex case-sensitively in C strings?, Eli Zaretskii, 2022/11/07
- Re: Matching regex case-sensitively in C strings?, Yuan Fu, 2022/11/07
- Re: Matching regex case-sensitively in C strings?, Mattias Engdegård, 2022/11/08
- Re: Matching regex case-sensitively in C strings?,
Eli Zaretskii <=
- Re: Matching regex case-sensitively in C strings?, Yuan Fu, 2022/11/08
- Re: Matching regex case-sensitively in C strings?, Eli Zaretskii, 2022/11/08
- Re: Matching regex case-sensitively in C strings?, Yuan Fu, 2022/11/08
- Re: Matching regex case-sensitively in C strings?, Mattias Engdegård, 2022/11/09
- Re: Matching regex case-sensitively in C strings?, Mattias Engdegård, 2022/11/09
- Re: Matching regex case-sensitively in C strings?, Eli Zaretskii, 2022/11/09
- Re: Matching regex case-sensitively in C strings?, Mattias Engdegård, 2022/11/10
- Re: Matching regex case-sensitively in C strings?, Eli Zaretskii, 2022/11/10
- Re: Matching regex case-sensitively in C strings?, Robert Pluim, 2022/11/10
- Re: Matching regex case-sensitively in C strings?, Mattias Engdegård, 2022/11/10