Skip to main content



      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 14:53 Go to next message
Eclipse UserFriend
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 01:23 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Need help
Next Topic:Error opening file for writing issue
Goto Forum:
  


Current Time: Wed Jul 02 17:25:39 EDT 2025

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

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

Back to the top