Jump to content
Sign in to follow this  
Jacek Laskowski

IDE search and regular expressions

Recommended Posts

Does a files search from within the IDE (shift+ctrl+F), with Regular Expression enabled, support multi-line searches? I tried for an hour and did not get anything.
For example, I would like to find all public var sections located between interface and implementation in units.

Can the IDE do this?

Share this post


Link to post

I don't think you can match a regex across lines as you'd either need to specify the /s regex option (. matches newline) or use the \n meta character and the IDE's regex doesn't support either.

 

I do wish they would replace the IDE regex engine with something more complete.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×