Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for regex search patterns #87

Open
BrysonZimmerman opened this issue Jul 21, 2017 · 2 comments
Open

Add support for regex search patterns #87

BrysonZimmerman opened this issue Jul 21, 2017 · 2 comments

Comments

@BrysonZimmerman
Copy link

Regular expressions are a very useful tool for search/replace purposes and would fit well with this plugin.

I believe a regex checkbox would be sufficient to specify whether or not a regex is being used. That being said, when I processed the input of the search field as a regex by changing line 292 of /inc/Database/Replace.php to $data = preg_replace( $from, $to, $data ); I ended up matching every entry of every table selected, despite the same regex working when run as a function in the theme's functions.php file.

@bueltge
Copy link
Contributor

bueltge commented Jul 24, 2017

Thanks a lot for usage of the plugin and your feature request.
Currently we see this feature not as relevant for this plugin. Regex are more for power-users, not defaults there change data. So that this user group have the change to use standard mysql tools, cli etc.
Maybe much later, but actually we have not resources to implement this.

@Dmole
Copy link

Dmole commented Aug 18, 2017

https://urbangiraffe.com/plugins/search-regex/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants