Search the web
Sign In
New User? Sign Up
gobo-eiffel · Gobo Eiffel
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Not terminating loop possible with RX_PCRE_REGULAR_EXPRESSION.replac   Message List  
Reply | Forward Message #1747 of 1767 |
Re: [gobo-eiffel] Not terminating loop possible with RX_PCRE_REGULAR_EXPRESSION.replace_all

>>>>> "Eric" == Eric Bezault <ericb@...> writes:

Eric> I now fixed it in the SVN repository in such a way that it
Eric> works as well when there is no ^ at the beginning of the
Eric> regexp. In that case it is assumed that there is only one
Eric> matching empty string between each character. Can you please
Eric> give it a try and let me know if it works for you?

I see, fix was indeed a bit more complex. I've back-ported it to Gobo
3.8 as I still want to support SE 1.1 (I just love the SE stack-dump,
has saved me countless hours), and initial testing says it's ok.

I've put it in production.

--
Thanks a lot!

Berend de Boer



Wed Jun 17, 2009 9:59 am

berenddeboer
Online Now Online Now
Send Email Send Email

Forward
Message #1747 of 1767 |
Expand Messages Author Sort by Date

Hi All, I've encountered a regular expression that causes a loop not to terminate. It happens when you want to insert something at the ... class TEST create ...
Berend de Boer
berenddeboer
Online Now Send Email
Jun 8, 2009
5:10 pm

... Berend> What happens is that the start position is 1, and the end Berend> position is 0. has_matched is always true. I'm not sure Berend> how to solve...
Berend de Boer
berenddeboer
Online Now Send Email
Jun 9, 2009
1:37 pm

... I now fixed it in the SVN repository in such a way that it works as well when there is no ^ at the beginning of the regexp. In that case it is assumed that...
Eric Bezault
gobosoft
Offline Send Email
Jun 16, 2009
9:22 pm

... Eric> I now fixed it in the SVN repository in such a way that it Eric> works as well when there is no ^ at the beginning of the Eric> regexp. In that case...
Berend de Boer
berenddeboer
Online Now Send Email
Jun 17, 2009
10:00 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help