Mezomish / juffed

JuffEd text editor
GNU General Public License v2.0
56 stars 19 forks source link

RegExp Working OK? #97

Open LaneLester opened 7 years ago

LaneLester commented 7 years ago

About the only use for regexp capability I have is the ability to use "\n" in a search and replace. I selected RegExp, but juffed didn't see any of the line ends.

Lane

Shura0 commented 7 years ago

Did you try $

LaneLester commented 7 years ago

Thanks for the suggestion. I just now tried it with no joy. I have "Regexp" selected, and soon as I type "$" into the Find field it turns red.

I'm using X File Explorer (xfe), which comes with X File Write (xfw). I tried a test with it, and "\n" worked just fine. So at least I don't have to install another text editor. :-)

Shura0 commented 7 years ago

It's working, but not with empty strings. For example regexp ";$" can find all lines that ends with ";" Unfortunately regexp "^$" is not working

LaneLester commented 7 years ago

Thanks for checking, Shura0. I installed Editra to get the \n usage.

Lane