How to Install and Uninstall python2-regex Package on openSUSE Leap

Last updated: November 14,2024

1. Install "python2-regex" package

This guide covers the steps necessary to install python2-regex on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-regex

2. Uninstall "python2-regex" package

Please follow the steps below to uninstall python2-regex on openSUSE Leap:

$ sudo zypper remove python2-regex

3. Information about the python2-regex package on openSUSE Leap

Information for package python2-regex:
--------------------------------------
Repository : Main Repository
Name : python2-regex
Version : 2020.2.20-bp153.1.36
Arch : x86_64
Vendor : openSUSE
Installed Size : 1,5 MiB
Installed : No
Status : not installed
Source package : python-regex-2020.2.20-bp153.1.36.src
Summary : Alternative regular expression module for Python
Description :
An alternate regex implementation. It differs from "re" in that
* Zero-width matches are handled like in Perl and PCRE:
* ``.split`` will split a string at a zero-width match.
* ``.sub`` will handle zero-width matches correctly.
* Inline flags apply to the end of the group or pattern, and they can
be turned off.
* Nested sets and set operations are supported.
* Case-insensitive matches in Unicode use full case-folding by
default.

5. The same packages on other Linux Distributions