Scribusoid

Author Topic: Regular expressions in Search and Replace  (Read 1509 times)

fox72

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
  • Scribus User
Regular expressions in Search and Replace
« on: December 05, 2019, 08:10:09 am »
When will the regular expressions be used in the Search / Replace dialog box?
Regular expressions help when editing large amounts of text.
Sorry for my english

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2373
  • Karma: 34
    • the graphics lab
Re: Regular expressions in Search and Replace
« Reply #1 on: December 05, 2019, 10:04:35 am »
i guess that first we need:

- being able to search across all text frames
- make the dialog non modal (no need to close it to move around)
- show the cursor on "next"
- and, if possible, work on the UI...

... then, we need regexes : - )

if somebody wants to work on it, there are patches around that need to be checked and i can help you with them...

ciao
a.l.e

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2373
  • Karma: 34
    • the graphics lab
Re: Regular expressions in Search and Replace
« Reply #2 on: December 05, 2019, 10:34:03 am »
oh!

https://bugs.scribus.net/view.php?id=11369

this has been fixed today...
(ok, i knew that jean was working on it...)

i guess that the next step will be to test

https://bugs.scribus.net/view.php?id=14567

and make it sure that it works correctly...

and, of course, we have an old ticket for the regexes too:

https://bugs.scribus.net/view.php?id=2332

if somebody wants to do tests, but cannot compile scribus, but has a linux computer, then i can setup a branch that creates an appimage with the "search all patch".

fox72

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
  • Scribus User
Re: Regular expressions in Search and Replace
« Reply #3 on: December 05, 2019, 11:27:19 pm »
I work in Linux, I can do testing, but I don’t know how to do it. Can you give me instructions?

 

palmate