`core` is already in the `RSPEC_LIBS` array, and thus is handled by the regex already (since it handles `../core/` and `.../core.rb` with the `(\.rb|/)` bit).

I can see your confusion though; maybe this should be called `ADDITIONAL_TOP_LEVEL_FILES`?