
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
`simpex` is a python library that simplifies the process of using regular expressions (regex).
simpex
is a python library that simplifies the process of using regular expressions (regex
). It provides custom, built-in and api-based methods to generate regex patterns, making it easier for developers to match and manipulate text data. Whether you're working with emails, URLs, phone numbers, or other patterns, simpex
has you covered.
To install simpex
, use the following command:
pip install simpex
There are three steps between you and regex pattern you want! Follow below instatructions as quick guide, please chak out wiki for comprehensive usage with examples.
from simpex.simpex import simpex
simpex
is a class, so we need to create an object with required parametric data (check wiki, for all available parameters)# creating an onject named `email`
email = simpex(['test@mail.com', 'admin@email.com', 'example@mail.co'])
custom*
, built-in
or api-based
to get regex pattern (check wiki, for all avaliable methods)# calling custom method
pattern = email.regex()
output:
print(pattern)
->^[a-z]+\@[a-z]+\.[a-z]*$
<br><br>
simpex
project, fork the repository, make your changes, and submit a pull request.FAQs
`simpex` is a python library that simplifies the process of using regular expressions (regex).
We found that simpex demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.