For now this generator tas seems to be fine: ImpressPages(?: CMS)?( [\\d.]*)\\;version:\\1
Will add additional patterns after official 4.0 release. Thank You for help.