Extract method declaration regexp into a constant