Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepath_to_regexp

Converts path strings with parameters into regular expressions and generating functions.

pub.devRemove
text_parser

A Dart package for parsing text flexibly using multiple regular expression patterns.

pub.devRemove
ScoresHealth50 (best)46
Maintenance04 (best)
Quality100100
Popularity70 (best)16
Community4141
Compatibility100100
UsageDownloads (30 days)74k (best)1.3k
Likes46 (best)8
Pub points160 / 160160 / 160
GitHub stars31 (best)9
MaintenanceLatest release0.4.0, 6 years ago2.4.0, 2 years ago (best)
Major versions in 12 months00
Contributors11
Publisherleonsenft.devkaboc.cc
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Provides bidirectional conversion between paths and regular expressions or generation functions.
  • Supports custom parameter regular expressions, prefix matching, and case insensitivity.
  • Token-based parsing allows efficient reuse when matching and generating from the same path specification.
  • Includes useful preset matchers for URLs, emails, and phone numbers.
  • Supports running parsing tasks in an isolate to prevent UI jank.
  • Allows custom matchers and exact string matching with escaped regex characters.
Weaknesses
  • Optional parameters are not supported (support was removed in version 0.2.0).
  • Reliance on regular expressions can become hard to maintain for highly complex nested grammars.
  • Named capture groups lose their names in the resulting groups list.
WarningsNoneNone
path_to_regexp vs text_parser: which Flutter package should you use? | pubscout