From: "Simon Kröger" Date: 2006-01-15T07:49:09+09:00 Subject: Re: Newbie regex question about \w > [...] > especially with heredocs and such. I would take a look at rdoc and see > if you can't manipulate it to get a list of classes for you. Maybe this is about regexps and i'm totaly off, but what about: --------------------------------------------- before = Object.constants require 'sqlite3' # put your file here after = Object.constants p(after - before) --------------------------------------------- output: ["NKF", "Deprecated", "SQLite3", "Base64", "Kconv", "ParseDate"] cheers Simon