Does Eclipse regex search / replace not replace a positive look after a regular expression?

After I take a positive look at eclipse 3.5, I can’t replace anything! In particular, I put any text string to replace the found string, and the text string cannot be replaced. My positive look is at the end of the line to include positive text in the next search in the search text.

What? This is also a problem in the latest Aptana Studio, based on eclipse.

Example:

-Hello!  
I'm trying to match  
some stuff  
-Hello!  
Burbpaoiwjf  
paowijefpioj  
-Hello!  

Match:

(?s)-Hello!(.*?)(?=-Hello!)

This will match, but I cannot replace the corresponding text with anything.

+5
source share
1 answer

This is a known bug .

, :

(?s)-Hello!(.*?)-Hello!

-Hello!

.

+5

All Articles