Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » What flavor of regex flavor is used by latest Eclipse IDE?
What flavor of regex flavor is used by latest Eclipse IDE? [message #1852826] Mon, 06 June 2022 18:53 Go to next message
MANI PS is currently offline MANI PSFriend
Messages: 2
Registered: May 2022
Junior Member
I am talking about "Find/Replace" dialog (Ctrl+F).

It seems to support "variable length lookbehind" regex which doesn't seem to be supported in Java. Or, is it really using Java?

I need to know exact version if possible.
Re: What flavor of regex flavor is used by latest Eclipse IDE? [message #1852828 is a reply to message #1852826] Tue, 07 June 2022 05:23 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Search uses this which definitely creates a java.util.regex.Pattern.

org.eclipse.search.internal.core.text.PatternConstructor.createPattern(String, boolean, boolean, boolean, boolean)

Also in org.eclipse.jface.text.FindReplaceDocumentAdapter.findReplace(FindReplaceOperationCode, int, String, String, boolean, boolean, boolean, boolean) is does a Pattern.compile so it is just using what's provided by the JDK.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Need help
Next Topic:Error opening file for writing issue
Goto Forum:
  


Current Time: Thu Apr 25 20:35:33 GMT 2024

Powered by FUDForum. Page generated in 0.08660 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top