[osinfo-db 0/3] Get rid of POSIX regex charecter classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As we're going to introduce our tests on osinfo-db, using python, and
trying to rely as much as possible on python built-in modules, let's
convert the POSIX character classes as "[:upper:]", "[:digit:]", and
"[:alpha:]" by just using what they mean.

It's needed as "re" built-in python module doesn't cope with POSIX
character classes for regular expressions.

Fabiano Fidêncio (3):
  win: Replace [:upper:] by A-Z
  win: Replace [:digit:] by 0-9
  fedora23: Replace [:alpha:] by A-Za-z

 data/os/fedoraproject.org/fedora-23.xml.in | 12 +++++-----
 data/os/microsoft.com/win-10.xml.in        | 20 ++++++++--------
 data/os/microsoft.com/win-2k.xml.in        |  2 +-
 data/os/microsoft.com/win-2k12.xml.in      | 10 ++++----
 data/os/microsoft.com/win-2k12r2.xml.in    | 10 ++++----
 data/os/microsoft.com/win-2k16.xml.in      |  6 ++---
 data/os/microsoft.com/win-2k3.xml.in       |  6 ++---
 data/os/microsoft.com/win-2k3r2.xml.in     |  4 ++--
 data/os/microsoft.com/win-2k8.xml.in       |  4 ++--
 data/os/microsoft.com/win-2k8r2.xml.in     |  4 ++--
 data/os/microsoft.com/win-7.xml.in         | 28 +++++++++++-----------
 data/os/microsoft.com/win-8.1.xml.in       | 20 ++++++++--------
 data/os/microsoft.com/win-8.xml.in         | 20 ++++++++--------
 data/os/microsoft.com/win-vista.xml.in     |  4 ++--
 data/os/microsoft.com/win-xp.xml.in        |  4 ++--
 15 files changed, 77 insertions(+), 77 deletions(-)

-- 
2.20.1

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux