You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.
Search by package name:
my-package
(implicit)
name:my-package
(explicit)
Search by package filename:
my-package.ext
(implicit)
filename:my-package.ext
(explicit)
Search by package tag:
latest
(implicit)
tag:latest
(explicit)
Search by package version:
1.0.0
(implicit)
version:1.0.0
(explicit)
prerelease:true
(prereleases)
prerelease:false
(no prereleases)
Search by package architecture:
architecture:x86_64
Search by package distribution:
distribution:el
Search by package license:
license:MIT
Search by package format:
format:deb
Search by package status:
status:in_progress
Search by package file checksum:
checksum:5afba
Search by package security status:
severity:critical
Search by package vulnerabilities:
vulnerabilities:>1
vulnerabilities:<1000
Search by # of package downloads:
downloads:>8
downloads:<100
Search by package type:
type:binary
type:source
Search by package size (bytes):
size:>50000
size:<10000
Search by dependency name/version:
dependency:log4j
dependency:log4j=1.0.0
dependency:log4j>1.0.0
Search by uploaded date:
uploaded:>"1 day ago"
uploaded:<"August 14, 2022 EST"
Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY
Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true
Search by repository:
repository:repo-name
Search queries for all Debian-specific (and related) package types
Search by component:
deb_component:unstable
Search queries for all Maven-specific (and related) package types
Search by group ID:
maven_group_id:org.apache
Search queries for all Docker-specific (and related) package types
Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)
Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)
Field type modifiers (depending on the type, you can influence behaviour)
For all queries, you can use:
~foo
for negation
For string queries, you can use:
^foo
to anchor to start of term
foo$
to anchor to end of term
foo*bar
for fuzzy matching
For number/date or version queries, you can use:
>foo
for values greater than
>=foo
for values greater / equal
<foo
for values less than
<=foo
for values less / equal
Need a secure and centralised artifact repository to deliver Alpine,
Cargo,
CocoaPods,
Composer,
Conan,
Conda,
CRAN,
Dart,
Debian,
Docker,
Go,
Helm,
Hex,
LuaRocks,
Maven,
npm,
NuGet,
P2,
Python,
RedHat,
Ruby,
Swift,
Terraform,
Vagrant,
Raw & More packages?
Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.
With support for all major package formats, you can trust us to manage your software supply chain.
![agriconnect](https://users.cloudsmith.media/avatars/kYfv6fk4fsW8_9cb87a39932f0ac76d72c33310092a64326f5fdb.png)
regex
2019.6.8
One-liner (summary)
Description
Introduction
This regex implementation is backwards-compatible with the standard 're' module, but offers additional functionality.
Note
The re module's behaviour with zero-width matches changed in Python 3.7, and this module will follow that behaviour when compiled for Python 3.7.
Old vs new behaviour
In order to be compatible with the re module, this module has 2 behaviours:
Version 0 behaviour (old behaviour, compatible with the re module):
Please note that the re module's behaviour may change over time, and I'll endeavour to match that behaviour in version 0.
- Indicated by the VERSION0 or V0 flag, or (?V0) in the pattern.
- Zero-width matches are not handled correctly in the re module before Python 3.7. The behaviour in those earlier versions is:
- .split won't split a string at a zero-width match.
- .sub will advance by one character after a zero-width match.
- Inline flags apply to the entire pattern, and they can't be turned off.
- Only simple sets are supported.
- Case-insensitive matches in Unicode use simple case-folding by default.
Version 1 behaviour (new behaviour, possibly different from the re module):
- Indicated by the VERSION1 or V1 flag, or (?V1) in the pattern.
- Zero-width matches are handled 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.
If no version is specified, the regex module will default to regex.DEFAULT_VERSION.
Case-insensitive matches in Unicode
The regex module supports both simple and full case-folding for case-insensitive matches in Unicode. Use of full case-folding can be turned on using the FULLCASE or F flag, or (?f) in the pattern. Please note that this flag affects how the IGNORECASE flag works; the FULLCASE flag itself does not turn on case-insensitive matching.
In the version 0 behaviour, the flag is off by default.
In the version 1 behaviour, the flag is on by default.
Nested sets and set operations
It's not possible to support both simple sets, as used in the re module, and nested sets at the same time because of a difference in the meaning of an unescaped "[" in a set.
For example, the pattern [[a-z]--[aeiou]] is treated in the version 0 behaviour (simple sets, compatible with the re module) as:
- Set containing "[" and the letters "a" to "z"
- Literal "--"
- Set containing letters "a", "e", "i", "o", "u"
- Literal "]"
but in the version 1 behaviour (nested sets, enhanced behaviour) as:
- Set which is:
- Set containing the letters "a" to "z"
- but excluding:
- Set containing the letters "a", "e", "i", "o", "u"
Version 0 behaviour: only simple sets are supported.
Version 1 behaviour: nested sets and set operations are supported.
Flags
There are 2 kinds of flag: scoped and global. Scoped flags can apply to only part of a pattern and can be turned on or off; global flags apply to the entire pattern and can only be turned on.
The scoped flags are: FULLCASE, IGNORECASE, MULTILINE, DOTALL, VERBOSE, WORD.
The global flags are: ASCII, BESTMATCH, ENHANCEMATCH, LOCALE, POSIX, REVERSE, UNICODE, VERSION0, VERSION1.
If neither the ASCII, LOCALE nor UNICODE flag is specified, it will default to UNICODE if the regex pattern is a Unicode string and ASCII if it's a bytestring.
The ENHANCEMATCH flag makes fuzzy matching attempt to improve the fit of the next match that it finds.
The BESTMATCH flag makes fuzzy matching search for the best match instead of the next match.
Notes on named capture groups
All capture groups have a group number, starting from 1.
Groups with the same group name will have the same group number, and groups with a different
Status | Completed |
---|---|
Checksum (MD5) | 2f872368192df106cce3ad54b94e0b8a |
Checksum (SHA-1) | 71773a263dce2172d3f4b020c57078d145cf8614 |
Checksum (SHA-256) | e080fdf5c266c49876e19a377c905855b10bf63106e3ff4f69dd2888ec6226a4 |
Checksum (SHA-512) | 3a4d6f79948837bc066f732427f55ebc11e9f5772c0bdbed7f28e4db43c784a687… |
GPG Signature | |
Storage Region | Dublin, Ireland |
Type | Binary (contains binaries and binary artifacts) |
Uploaded At | 4 years, 10 months ago |
Uploaded By |
![]() |
Slug Id | regex-201968-cp37-cp37m-linux_x86_64whl |
Unique Id | HrFKDN3V9Ffd |
Version (Raw) | 2019.6.8 |
Version (Parsed) |
|
extended metadata | |
Abi | cp37m |
Classifiers | Development Status :: 5 - Production/Stable | Intended Audience :: Developers | License :: OSI Approved :: Python Software Foundation License | Operating System :: OS Independent | Programming Language :: Python :: 2.7 | Programming Language :: Python :: 3.5 | Programming Language :: Python :: 3.6 | Programming Language :: Python :: 3.7 | Programming Language :: Python :: 3.8 | Topic :: Scientific/Engineering :: Information Analysis | Topic :: Software Development :: Libraries :: Python Modules | Topic :: Text Processing | Topic :: Text Processing :: General |
Homepage URL | https://bitbucket.org/mrabarnett/mrab-regex |
Metadata Version | 2.1 |
Py Filetype | bdist_wheel |
Py Version | cp37 |
pkg | regex-2019.6.8-cp37-cp37m-linux… |
141
500.8 KB |
md5 | sha1 | sha256 | sha512 |
This package has 14 files/directories.
![]() |
regex |
141 |
![]() |
Security Scanning:
You can't see this because your subscription doesn't include this feature, sorry!
With Security Scanning, Cloudsmith will scan your artifacts for vulnerabilities when they're uploaded. These are then presented to you via the UI and the API, so that you can build rules into your CI/CD pipelines to decide how to handle low, medium, high and critical software vulnerabilities.
If you'd like to trial or ask about the Security Scanning feature, just ask us. We'll be happy to help!
Last scanned
1 week, 1 day ago
Scan result
Vulnerable
Vulnerability count
4
Max. severity
CriticalTarget: | ||
MEDIUM |
CVE-9504-68363: library: vulnerability titlePackage Name: package_name Installed Version: 1.8.37 Fixed Version: 2.10.54 References: hansen.info hancock.info rasmussen.info |
|
MEDIUM |
CVE-6891-62658: library: vulnerability titlePackage Name: package_name Installed Version: 1.10.51 Fixed Version: 2.10.60 References: www.sanchez.com www.torres.com jones.biz |
|
LOW |
CVE-9993-31351: library: vulnerability titlePackage Name: package_name Installed Version: 1.10.6 Fixed Version: 2.1.79 References: www.frost-buck.biz barr.net long-benton.com |
|
LOW |
CVE-4228-81522: library: vulnerability titlePackage Name: package_name Installed Version: 1.8.75 Fixed Version: 2.5.90 References: www.rowland.info www.cook.info www.patrick-harmon.com |
You can embed a badge in another website that shows this or the latest version of this package.
To embed the badge for this specific package version, use the following:
[![This version of 'regex' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/regex/2019.6.8/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/?render=true)](https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/regex/2019.6.8/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/)
|This version of 'regex' @ Cloudsmith|
.. |This version of 'regex' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/regex/2019.6.8/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/?render=true
:target: https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/regex/2019.6.8/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/regex/2019.6.8/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/?render=true[link="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/regex/2019.6.8/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/",title="This version of 'regex' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/regex/2019.6.8/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/regex/2019.6.8/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/?render=true" alt="This version of 'regex' @ Cloudsmith" /></a>
rendered as:
To embed the badge for the latest package version, use the following:
[![Latest version of 'regex' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/regex/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/?render=true&show_latest=true)](https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/regex/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/)
|Latest version of 'regex' @ Cloudsmith|
.. |Latest version of 'regex' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/regex/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/?render=true&show_latest=true
:target: https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/regex/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/regex/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/?render=true&show_latest=true[link="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/regex/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/",title="Latest version of 'regex' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python-musl/packages/detail/python/regex/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python-musl/python/regex/latest/a=linux_x86_64;xa=cp37m;xf=bdist_wheel;xn=regex;xv=cp37/?render=true&show_latest=true" alt="Latest version of 'regex' @ Cloudsmith" /></a>
rendered as:
These instructions assume you have setup the repository first (or read it).
To install/use regex @ version 2019.6.8 ...
pip install 'regex==2019.6.8'
You can also install the latest version of this package:
pip install --upgrade 'regex'
If necessary, you can specify the repository directly:
pip install \
--index-url=https://dl.cloudsmith.io/public/agriconnect/python-musl/python/simple/ \
regex==2019.6.8
If you've got a project requirements.txt file, you can specify this as a dependency:
--index-url=https://dl.cloudsmith.io/public/agriconnect/python-musl/python/simple/
regex==2019.6.8
In addition, you can use this repository as an extra index url. However, please read our documentation on this parameter before using it. For example in a requirements.txt file:
--extra-index-url=https://dl.cloudsmith.io/public/agriconnect/python-musl/python/simple/
regex==2019.6.8