bugGNU Octave - Bugs: bug #38885, findobj logicaloperator vs. regexp

 
 

bug #38885: findobj logicaloperator vs. regexp

Submitter:  None
Submitted:  Sat 04 May 2013 03:21:35 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  bpabbott
Originator Name:  Felipe G. Nievinski Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 27 May 2013 07:28:47 AM UTC, comment #4: 

No problems have been reported, so I'm closing.

Ben Abbott <bpabbott>
Group Member
Fri 17 May 2013 01:10:23 PM UTC, comment #3: 

Ben, the first line of the commit message should describe the fix and put (bug #38885) at the end.

Thanks for the bugfix.

Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Fri 17 May 2013 12:55:37 PM UTC, comment #2: 

I had no problems with the changeset, so I pushed it

http://hg.savannah.gnu.org/hgweb/octave/rev/092d0a685546

I'm mark this as "ready for test", and close it in a few days I no problems are reported.

Ben Abbott <bpabbott>
Group Member
Tue 07 May 2013 03:00:12 PM UTC, comment #1: 

I've attached a changeset.  I'll do more testing before pushing this.  The current fix is simple, but clumsy.  Additional cleanup of the code would be nice, but my first few attempts didn't work out.  I'll take another look when I have time.


(file #28041)

Ben Abbott <bpabbott>
Group Member
Sat 04 May 2013 03:21:35 AM UTC, original submission:  

This returns a non-empty result:


figure
imagesc(rand(10))
oh = findobj('-regexp','Type','image|surf|hggroup')


but this returns empty, which is incorrect:


oh = findobj('Type','image', '-or', 'Type','surf', '-or', 'Type','hggroup')



Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28041:  changeset.patch added by bpabbott (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by bpabbott (Updated the item)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-27 bpabbott StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2013-05-17 bpabbott StatusPatch Submitted Ready For Test
    2013-05-07 bpabbott Attached File- Added changeset.patch, #28041
        StatusNone Patch Submitted
        Release3.6.4 dev
        Operating SystemMicrosoft Windows Any
    2013-05-07 bpabbott Assigned toNone bpabbott

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code