Score:1

What regex flavor does gedit support?

kr flag
qwr

On Ubuntu 20.04, my version of gedit 3.36.2 came with a regex checkbox for Find and Replace out of the box without installing any plugins. Which regex flavor is used?

zwets avatar
us flag
Does this answer your question? [Questions about using Regex Search & Replace in gedit](https://askubuntu.com/questions/30407/questions-about-using-regex-search-replace-in-gedit)
qwr avatar
kr flag
qwr
@zwets no, that is for a specific gedit plugin. Unless it has been incorporated into later gedit releases.
Score:1
kr flag
qwr

Ok looking through the source code I found gtk_source_search_settings_set_regex_enabled which links to GLib's regex which is "similar to Perl's" and uses PCRE (this Wireshark Q&A suggests it has different defaults.)

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.