# bendytree/Objective-C-RegEx-Categories

NSRegularExpression extensions that make regular expressions easier in Objective-C, Swift, iOS, OSX

Repository: https://github.com/bendytree/Objective-C-RegEx-Categories
Canonical: https://ross.abutalabs.com/products/objective-c-regex-categories
Language: Objective-C
License: MIT
License Family: permissive
Last push: 2019-10-03T12:20:12+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4656, "days_push": 2526, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1569, forks 198 (observed 2026-08-28T04:05:05.257370+00:00)

## What it is
An Objective-C library of categories and macros that simplify using NSRegularExpression in Objective-C and Swift on iOS and macOS. It condenses verbose Foundation regex code into concise one-line calls for matching, splitting, replacing, and extracting matches.

## Use cases
- simplify regex matching in objective-c
- test if a string matches a pattern in ios
- extract matches from strings in swift
- split strings with regular expressions on macos
- replace text using regex in objective-c

## When to choose
- you write Objective-C or Swift targeting iOS 4+ or macOS 10.7+ and want terse regex code
- you want a dependency-free library you can drop in as two files
- you find NSRegularExpression's API too verbose

## When to avoid
- you work in a language other than Objective-C or Swift
- you need actively maintained regex tooling with recent updates
- you need advanced regex features beyond matching, splitting, and replacement

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, developer-tools
- domain: programming-languages, developer-tools, mobile-development
- platform: cpp
- tags: objective-c, regex, swift, cocoapods, nsmutablestring-categories, string-processing, ios, macos

## Member repositories
- bendytree/Objective-C-RegEx-Categories (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.257370+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:58:35.821060+00:00, confidence not recorded.
  - readme: https://github.com/bendytree/Objective-C-RegEx-Categories (fetched 2026-08-28T04:05:05.257370+00:00, sha 753caa81dad5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
