Scribus Forums

Scribus => Scripts and Plugins => Topic started by: richard-cdbox on December 02, 2025, 12:19:38 PM

Title: GREPS – Regular Expressions for Scribus
Post by: richard-cdbox on December 02, 2025, 12:19:38 PM
A full-featured Find/Change engine inspired by Adobe InDesign GREP

You can find all the necessary files here: https://github.com/richard-cdbox/greps

Enjoy it!
Title: Re: GREPS – Regular Expressions for Scribus
Post by: Aleks100 on December 02, 2025, 01:33:59 PM
Great job!
Title: Re: GREPS – Regular Expressions for Scribus
Post by: richard-cdbox on December 02, 2025, 01:52:57 PM
Thanks!
Title: Re: GREPS – Regular Expressions for Scribus
Post by: AdmFubar on December 02, 2025, 08:28:39 PM
Gave it a try on scribus 1.6.1.
It replaces the text as it should, but it also resets the font, and formatting.
The grep window doesn't close like it should, and it hangs around until I close scribus. 
Will check it out on 1.7.0 shortly
Title: Re: GREPS – Regular Expressions for Scribus
Post by: richard-cdbox on December 02, 2025, 10:57:58 PM
Thanks for the feedback.
As I wrote in the README, I tested it on versions 1.6.4 (python 3.8.20) and 1.7.0 (python 3.12.8).
Apparently, there is a problem with some function in the tkinter module. What version of Python does Scribus 1.6.1 use? (Script > Show console, type this: print(sys.version) and press F9)
I only tested it on plain text. So I'll have to look into this.