added regex class and twitter license