Score:2

Is there a way to specify beginning of line in a Pluma Search?

mx flag

Here is my description of the current system:

  • Pluma 1.24.0
  • Ubuntu 20.04.2 LTS
  • MATE 1.24.0

I was trying to replace spaces with tabs, but only at the beginning of a line. I could find spaces, and could find tabs, and even combinations of spaces and tabs. I did have 'Match regular expression' and 'Parse escape sequences' checked. I tried using a caret preceding the space, but it did not work. I tried with other characters as well, but still no go.

Score:2
zw flag

It works with leading tab ^\t, but not with leading space ^ .

So it seems to be a bug in Pluma or its 3rd-party regexp-parsing library.

I have reported it here.

As alternative you can use Kate editor which can be installed with:

sudo apt install kate
lar3ry avatar
mx flag
As I said, "I tried using a caret preceding the space'
lar3ry avatar
mx flag
I still can't get ^\t to work. Nothing gets highlighted. I did find a workaround, though. I can precede the search term with a \n
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.