The aim of this paper is to design a theoretical framework that allows us to perform thecomputation of regular expression derivatives through a space of generic structures.Thanks to this formalism, the main properties of regular expression derivation, such asthe finiteness of the set of derivatives, need only be stated and proved one time, at thetop level. Moreover, it is shown how to construct an alternating automaton associated withthe derivation of a regular expression in this general framework. Finally, Brzozowski’sderivation and Antimirov’s derivation turn out to be a particular case of this generalscheme and it is shown how to construct a DFA, a NFA and an AFA for both of thesederivations.