-2

I am searching an editor which supports the regex syntax like python does.

I want a GUI like gedit.

The old school editors vi, vim, emacs are no solution, since the editor should be easy to use.

I use PyCharm for software development, but sometimes I just want to do a a simple re.sub() on some content from the clipboard.

The tool gedit is not bad (except pressing ctrl-f again does not do what you usually intent) but unfortunately it does not support the python regex flavour.

I know that gedit support regular expressions. But Python flavor regex syntax is required!

guettli
  • 1,777
  • see this Q&A gedit does support regular expression – Yaron Sep 11 '17 at 07:30
  • @Yaron I updated the question. I want Python Regex Flavor. – guettli Sep 11 '17 at 07:32
  • This is not a duplicate of "gedit: search and replace with regular expressions" since this question has an additional requirement, which the other has not. AND this question is not fixed on gedit other editors could win, too. – guettli Sep 11 '17 at 08:01
  • @guettli This answer suggests a plug-in for advanced text search patterns. It's written in Python so I'd expect it to use Python's regular expression engine and syntax. – David Foerster Sep 11 '17 at 11:14
  • @DavidFoerster yes, the answer you mention is an answer to this question. But I think this is no reason to close this answer. Both questions are different. The other focuses on gedit, this one not. – guettli Sep 11 '17 at 13:15
  • I don't understand why you think this question is a dupliate. The other question is strictly about gedit. This current question is about choosing the editor. I think you are too fast. Just because both questions contain the keywords "editor" and "regex", this does not mean that one is a duplicate of the other. I am deeply relaxed. Have a nice day, happy fast thinking :-) – guettli Sep 14 '17 at 12:59

1 Answers1

2

A quick search for "regular expression" in Synaptic gives me kiki and redet as regex editors/development tools, among others. Both seem to support Python syntax.

Murphy
  • 1,677