bpy.data regex usage in 2.49b: can someone get me on the right track?

Hi.

I would just like to select some objects that are named similarly. Every CAD system I have come across does this; I just need to find out how in blender. I didn’t see a GUI for it, or a script (did I miss something??)

I was trying to do this from the info on the API page and found through some trial and error that I can get a set, but I’m fumbling for more info. Can someone tell me how to select by the object’s name?

So far, I have a simple start:

import Blender
import bpy

find objects with the names; 'Jet1", ‘Jet2’, etc.

myset = bpy.ops.object.select_name(name=‘Jet*’)
for ob in myset
print ‘found:’, ob.name, ob.lib

Thanks!