Scribus Forums

Scribus => General Discussion => Topic started by: fox72 on December 05, 2019, 07:10:09 AM

Title: Regular expressions in Search and Replace
Post by: fox72 on December 05, 2019, 07: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
Title: Re: Regular expressions in Search and Replace
Post by: a.l.e on December 05, 2019, 09: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
Title: Re: Regular expressions in Search and Replace
Post by: a.l.e on December 05, 2019, 09: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".
Title: Re: Regular expressions in Search and Replace
Post by: fox72 on December 05, 2019, 10: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?