<?xml version="1.0" encoding="UTF-8"?>

<root>
    <!-- Windows -->

    <regexp value="(Microsoft|Windows|Win32)">
        <info type="Windows"/>
    </regexp>

    <regexp value="Service Pack (\d)">
        <info sp="1"/>
    </regexp>

    <regexp value="Windows.*7\.5">
        <info type="Windows" distrib="2008"/>
    </regexp>

    <regexp value="Windows.*7\.0">
        <info type="Windows" distrib="Vista"/>
    </regexp>

    <regexp value="Windows.*6\.1">
        <info type="Windows" distrib="7"/>
    </regexp>

    <regexp value="Windows.*6\.0">
        <!-- TODO: verify this
        <info type="Windows" distrib="Vista"/>
        -->
        <info type="Windows" distrib="2003"/>
    </regexp>

    <regexp value="Windows.*5\.2">
        <info type="Windows" distrib="2003"/>
    </regexp>

    <regexp value="Windows.*5\.1">
        <info type="Windows" distrib="XP"/>
    </regexp>

    <regexp value="Windows.*5\.0">
        <info type="Windows" distrib="2000"/>
    </regexp>

    <regexp value="Windows.*4\.0">
        <info type="Windows" distrib="NT 4.0"/>
    </regexp>

    <regexp value="Windows.*3\.0">
        <info type="Windows" distrib="NT 4.0"/>
    </regexp>

    <regexp value="Windows.*2\.0">
        <info type="Windows" distrib="NT 4.0"/>
    </regexp>

    <!-- Linux -->

    <regexp value="Linux">
        <info type="Linux"/>
    </regexp>

    <regexp value="CentOS">
        <info type="Linux" distrib="CentOS"/>
    </regexp>

    <regexp value="Cobalt">
        <info type="Linux" distrib="Cobalt"/>
    </regexp>

    <regexp value="Conectiva">
        <info type="Linux" distrib="Conectiva"/>
    </regexp>

    <regexp value="Debian">
        <info type="Linux" distrib="Debian"/>
    </regexp>

    <regexp value="Fedora">
        <info type="Linux" distrib="Fedora"/>
    </regexp>

    <regexp value="Gentoo">
        <info type="Linux" distrib="Gentoo"/>
    </regexp>

    <regexp value="Knoppix">
        <info type="Linux" distrib="Knoppix"/>
    </regexp>

    <regexp value="Mandrake">
        <info type="Linux" distrib="Mandrake"/>
    </regexp>

    <regexp value="Mandriva">
        <info type="Linux" distrib="Mandriva"/>
    </regexp>

    <regexp value="Red[\-\_\ ]*Hat">
        <info type="Linux" distrib="Red Hat"/>
    </regexp>

    <regexp value="Slackware">
        <info type="Linux" distrib="Slackware"/>
    </regexp>

    <regexp value="SuSE">
        <info type="Linux" distrib="SuSE"/>
    </regexp>

    <regexp value="Ubuntu">
        <info type="Linux" distrib="Ubuntu"/>
    </regexp>

    <!-- Unices -->

    <regexp value="FreeBSD">
        <info type="FreeBSD"/>
    </regexp>

    <regexp value="NetBSD">
        <info type="NetBSD"/>
    </regexp>

    <regexp value="OpenBSD">
        <info type="OpenBSD"/>
    </regexp>

    <!-- Mac OSX -->

    <regexp value="Mac[\-\_\ ]*OSX">
        <info type="Mac OSX"/>
    </regexp>

    <regexp value="Darwin">
        <info type="Mac OSX"/>
    </regexp>
</root>