@joshcooper, you're right, I've just updated the code with the new regexp.

@ferventcoder, I think for the operatingsystemrelease fact is more appropriate only the main version and not including the Edition (professional,...). For me the problem is the common naming rules for Windows products, their components (Edition / Service Pack,...) don't match the current facts. I don't know if it could be interesting to provide additional facts for these things, I don't find the equivalent in other OS environments... Fedora 'Security Lab' edition?