BSD Ports

textproc/py-regex 2026.9.10 NetBSD

Alternative regular expression module, to replace re

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
5c90e019f2
License
python-software-foundation
Categories
textproc, python
Package size
363.4 KiB, 2550.2 KiB installed

Description

This regex implementation is backwards-compatible with the standard 're' module, but offers additional functionality.

In the other systems

SystemPortVersion
NetBSDtextproc/py-regex2026.9.10
FreeBSDtextproc/py-regex2026.9.10
DragonFlytextproc/py-regex2024.7.24_1
MidnightBSDtextproc/py-regex2022.9.13_1
HardenedBSDtextproc/py-regex2026.9.10
GhostBSDtextproc/py-regex2026.9.10

Install

Binary package:

pkgin install py311-regex

From pkgsrc:

cd /usr/pkgsrc/textproc/py-regex && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642026.9.10
NetBSD 10.1 aarch642026.5.9
SmartOS / illumos x86_642026.9.29
macOS 15 arm642026.9.29

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-regex-2026.9.10, py313-regex-2026.9.10, py314-regex-2026.9.10

Commit history 5

DateCommitCreditsLog message
5c90e019f2 adam py-regex: updated to 2026.9.29
2026.9.29 Updated to Unicode 18.0.0. Switched to using stdbool.h and stdint.h.
cbe5fa1384 adam py-regex: updated to 2026.9.10
2026.9.10 Fixed version. 2026.9.9 Fix Python API error propagation in match helpers Preserve Python Exceptions in Input Decoding and String Detachment Prevent Invalid Pointer Use and Exception State Corruption in Byte String Joining Propagate Allocation and Internal Errors During Pattern Compilation and Scanner Execution
4f9fb75d81 adam py-regex: updated to 2026.9.3
Version: 2026.9.3 New version of cibuildwheel no longer supports building for free-threaded Python 3.13. Version: 2026.9.2 New version of cibuildwheel no longer needs nor supports cpython-freethreading option. Version: 2026.9.1 Updated cibuildwheel. Support Python 3.15.
cb44f0b07d adam py-regex: updated to 2026.7.19
2026.7.19 Git issue 607: SIGSEGV: NULL pointer dereference in `basic_match()` when `(?R)`/`(?0)` recursion is used inside a fuzzy-matching quantifier Git issue 608: SIGSEGV: out-of-bounds read in `bytes1_char_at()` with `DOTALL` + a fuzzy constraint + `(?r)` reverse-direction matching
bc2cba7dcb adam py-regex: updated to 2026.7.10
2026.7.10 Clarified that the POSIX flag makes it look for only the longest overall match. Git issue 606: `regex`'s compiled-pattern cache eviction is not free-threading-safe