bugGNU Octave - Bugs: bug #35012, regexp hangs when spaces are at...

 
 

bug #35012: regexp hangs when spaces are at the end of the input

Submitted by:  Søren Hauberg <hauberg>
Submitted on:  Thu 08 Dec 2011 01:48:35 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: NoneAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.4.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 09 Dec 2011 07:58:28 AM UTC, comment #2:

Indeed. I just compiled the latest tip and the error is gone.

Thanks
Søren

Søren Hauberg <hauberg>
Thu 08 Dec 2011 05:46:53 PM UTC, comment #1:

It seems to work correctly with the current sources, so maybe this problem has already been fixed.

John W. Eaton <jwe>
Project Administrator
Thu 08 Dec 2011 01:48:35 PM UTC, original submission:

I've been hitting (what appears to be) an infinite loop in 'regexp'. The following example reproduces things for me

This does not return on my machine. The problem disappears if I remove the space at the end of 'R'.

Søren

Søren Hauberg <hauberg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by hauberg (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 09 Dec 2011 07:58:28 AM UTChaubergOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1