Request: Add Regular Expression Search

Either no documentation exists (or I cannot find it) on how to use regular expressions in Edit Find / Replace. Does anyone know where that is for Matlab? If it is not available, does anyone have a workaround for doing regular expression Find / Replace in MATLAB program files in the editor?

Antworten (1)

John D'Errico
John D'Errico am 1 Nov. 2017

0 Stimmen

Sorry, but Answers is not a place to put enhancement requests. If you have an idea, then send it directly to MathWorks. Click on the " Contact Us " link on the top right of your browser page.

2 Kommentare

Jonathan Parsons
Jonathan Parsons am 3 Dez. 2018
Bearbeitet: Jonathan Parsons am 3 Dez. 2018
I have this question, too, and just came across this post. I read the OP's post a few times and cannot see an explicit enhancement request (although the desire for regular-expression find and replace is obviously there). The OP was asking whether or not such a feature already exists and, if not (I take it from your answer that it does not), if anyone could suggest a workaround. Any suggestions?
Hans
Hans am 9 Dez. 2024
If you are working on a Linux system, just use terminal commands like 'grep' or 'ack' for search and 'sed' for search replace. IMHO this is faster for such operations.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 1 Nov. 2017

Kommentiert:

am 9 Dez. 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by