Follow-up from "Add housekeeper for search migrations"
The following discussion from !150553 (merged) should be addressed:
-
@maddievn started a discussion: (+1 comment) suggestion: Would a simple regex match to get the text between
class
and<
be good enough to get the klass name?klass_name = File.read(file).match(/class\s+(.+?)<.+?/)[1].strip