Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepetitparser

Build fast, composable, and type-safe grammars and parsers in plain Dart code.

pub.devRemove
recursive_regex

RegExp implementation that matches delimited text blocks recursively.

pub.devRemove
ScoresHealth93 (best)44
Maintenance87 (best)0
Quality100 (best)72
Popularity97 (best)40
Community80 (best)41
Compatibility100100
UsageDownloads (30 days)18M (best)15k
Likes403 (best)10
Pub points160 / 160 (best)130 / 160
GitHub stars490 (best)4
MaintenanceLatest release7.1.0, 8 weeks ago (best)1.0.0, 6 years ago
Major versions in 12 months00
Contributors18 (best)1
Publisherlukas-renggli.chjamesalex.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies21 (best)
LicenseMITBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Fully type-safe using modern Dart features and records.
  • Highly composable with a rich set of combinators and builders.
  • No external code generators required.
  • Built-in tools for debugging and viewing execution trees.
  • Handles arbitrarily nested delimiters correctly.
  • Supports prepended, appended, and inverse match filters.
  • Provides named capture groups inside delimiters.
Weaknesses
  • Steeper learning curve for developers unfamiliar with parser combinators.
  • May be overkill for trivial string manipulation tasks.
  • Not optimized for simple, non‑nested strings.
  • Limited to delimiter‑based matching; not a full parser.
WarningsNoneNone
petitparser vs recursive_regex: which Flutter package should you use? | pubscout