Opened 10 months ago

Last modified 2 months ago

#7142 new feature request

Enable regex search on

Reported by: presskopp's profile Presskopp Owned by:
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:


Pretty please

Change History (10)

#2 @psmits1567
10 months ago

Would be very welcome certainly in consistency checking

#3 @paulkevan
10 months ago

Can you describe the problem that would be solved by enabling a regex search, with some examples?

#4 @Presskopp
10 months ago

Well, I believe I can. I'm not asking this just for fun, but because I often find the need to use a regex, which is not currently possible. For instance, I frequently check translations to ensure they align with existing ones, but sometimes a more granular search is required. For example there are situations where I specifically want to find phrases that start with a specific text, especially when there are numerous results to sift through. While I don't have specific examples at the moment, trust me, there are many cases where this is necessary. I'll make an effort to provide some examples once I've gathered them.

#5 @Presskopp
10 months ago

Example # 1: Let's say I want to search for any string starting with "Sorry" and including "post" ->

look what you get just going for "Sorry":

#6 @Presskopp
10 months ago

Example # 2: Searching for a string which only has 1 character ->

"I knew there was this 1 char unicode sign somewhere.."

This ticket was mentioned in Slack in #polyglots by presskopp. View the logs.

2 months ago

#8 @Presskopp
2 months ago

Example # 3: Search for ". ", but only at the end of any translation.

#9 @pedromendonca
2 months ago

I would love that features like this could be developed upstream in GlotPress instead of only on, and than deployed to

#10 @pedromendonca
2 months ago

The ticket now has a GitHub issue on the GlotPress repo by @Presskopp:

Note: See TracTickets for help on using tickets.