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: 32395
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: Tue Jul 05 01:26:23 GMT 2022

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

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

Back to the top