< Home - < Back

re2


Information about the package, re2, which is shipped with common Linux distributions. The re2 package is designed for, C++ fast alternative to backtracking RE engines.


Package Name:

re2

Summary:

C++ fast alternative to backtracking RE engines

Description:

RE2 is a C++ library providing a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. Backtracking engines are typically full of features and convenient syntactic sugar but can be forced into taking exponential amounts of time on even small inputs. In contrast, RE2 uses automata theory to guarantee that regular expression searches run in time linear in the size of the input, at the expense of some missing features (e.g back references and generalized assertions).

Architecture:

x86_64

Version:

20130115

Release:

2.el6

Size:

131 k

Repository:

epel

From Repository:

Licence:

BSD



Handy Yum Commands for re2


Control the re2 package with the following handy commands outlined below.


Command

Description of Command

yum install re2

This command will install re2 on the server.

yum remove re2

This command will un-install re2 on the server. When you run this command, you will be asked if you are sure that you want to remove re2, so you have to manually confirm that you want to do this.

yum -y remove re2

This command will un-install re2 on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove re2 when using the -y flag.

yum update re2

This command will update re2 to the latest version. When you run this command, you will be asked if you are sure that you want to remove re2, so you have to manually confirm that you want to do this.

yum -y update re2

This command will update re2 to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove re2 when using the -y flag.

yum info re2

This command will show you core information about the re2 package.

yum deplist re2

This command will show you the dependencies for re2. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update re2

This command will check if there is an update waiting on re2. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.