# spatie/regex

> Lesbare Hülle um die PHP-Funktionen preg_match und preg_replace

Navigation: [Entwicklerwerkzeuge](category/developer-tools.txt) · [Index](../llms.txt)

## Fakten

- GitHub: https://github.com/spatie/regex
- HTML: https://awesomeopensource.dev/de/project/spatie-regex
- Webseite: https://freek.dev/549-a-package-to-easily-work-with-regex-in-php
- Lizenz: MIT
- Sprache: PHP
- Sterne: 1122
- Themen: hacktoberfest, php, regex, regular-expression
- Aktivitäts-Score: 3.2/5 (Gepflegt)
- Letzter Commit (beliebiger Branch): 2026-11-05
- Letztes Release: 3.1.1 2021-11-30

## Beschreibung

Spatie Regex kapselt PHPs preg_match, preg_match_all, preg_replace und preg_replace_callback in einer kleinen objektorientierten API, die MatchResult-Objekte statt Referenzvariablen und false-Prüfungen liefert. Ergebnisse bieten hasMatch, result, group und Fallbacks wie resultOr und groupOr. Ersetzungs-Callbacks erhalten das MatchResult, das Paket wird mit Composer installiert und enthält Tests.

## Wartungsaktivität

- Aktualität: 94% (weight 40%) — last commit: 8 days ago
- Commit-Volumen: 31% (weight 25%)
- Releases: 0% (weight 25%) — last release: 1809 days ago
- Bugfixes: 100% (weight 10%)
- Commits: 2 / 90d, 3 / 365d

## Ähnliche Projekte

- [stablyai/orca](stablyai-orca.md): Mehrere Coding-Agenten parallel ausführen, jeder in einem eigenen Git-Worktree · Aktivitäts-Score 5.0/5 (Sehr aktiv)
- [tauri-apps/tauri](tauri-apps-tauri.md): Kleine Desktop- und Mobile-Apps mit Web-Frontend und Rust-Kern bauen · Aktivitäts-Score 5.0/5 (Sehr aktiv)
- [microsoft/terminal](microsoft-terminal.md): Tabs, Bereiche und GPU-Rendering für PowerShell, cmd, WSL und SSH unter Windows · Aktivitäts-Score 5.0/5 (Sehr aktiv)
- [ant-design/ant-design](ant-design-ant-design.md): Eine UI-Designsprache. · Aktivitäts-Score 5.0/5 (Sehr aktiv)
- [microsoft/playwright](microsoft-playwright.md): End-to-End-Tests und Browser-Automatisierung für Chromium, Firefox und WebKit · Aktivitäts-Score 5.0/5 (Sehr aktiv)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX-Shellskript zum Installieren und Wechseln von Node.js-Versionen · Aktivitäts-Score 5.0/5 (Sehr aktiv)
