{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"}],"enrichment":{"capability":"ReBulk provides a fluent API for building complex string pattern matchers using regex, string, and functional patterns, with automatic conflict resolution when multiple matches overlap.","skillfed_tags":["pattern-matching","string-parsing","fluent-api"],"use_cases":["Parse structured filenames or paths to extract metadata like episode numbers, versions, or quality indicators","Build a custom text parser for domain-specific formats (e.g., log entries, configuration files) without writing complex regex","Validate and extract multiple overlapping patterns from a single string, automatically choosing the longest match","Chain multiple pattern types together to match sequences (e.g., 'episode number followed by optional version followed by zero or more extra identifiers')","Apply custom validation logic to matched patterns using validator functions before accepting them as results"],"what_it_does":"ReBulk is a Python library that simplifies complex string searching by providing a readable, chainable API for defining patterns. Instead of writing intricate regex or string manipulation code, you declare patterns using string(), regex(), functional(), and chain() methods on a Rebulk object, then call matches() to find all occurrences. When multiple patterns match at the same position, ReBulk keeps only the longest match, eliminating the need to manually resolve conflicts.\n\nThe library is built for tasks where the standard re module or string methods become unwieldy\u2014parsing structured text formats, extracting metadata from filenames, or validating complex patterns. It supports validators and formatters to filter or transform matches, pre- and post-processors to modify match objects, and chain patterns for ordered composition of multiple pattern types. With no external runtime dependencies and support for modern Python versions, it integrates cleanly into existing projects.","worth_installing":"Yes. ReBulk is actively maintained, has no dependencies, supports current Python versions, carries an MIT license, and solves a real problem\u2014making complex string matching readable and maintainable. Install it if you're building a text parser or pattern extractor where regex alone becomes hard to follow or maintain."},"id":"rebulk","links":{"html":"https://skillfed.io/packages/rebulk","md":"https://skillfed.io/packages/rebulk.md","pypi":"https://pypi.org/project/rebulk/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-03","license_spdx":"MIT","license_treatment":"permissive","name":"rebulk","python_support":"supports_current","summary":"Rebulk - Define simple search patterns in bulk to perform advanced matching on any string."},"popularity":{"monthly_downloads":151390,"position":10935,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"6.0.1"}
