Skip to content
pubscout

emoji_regex

0.0.5, released 4 years ago by an unverified publisher

Provides a regular expression to match all emoji symbols and sequences as per the Unicode Standard.

WASM-ready
$ flutter pub add emoji_regex
Source repository

What it does

It offers a regular expression designed to match all emoji symbols and sequences, including textual representations of emojis according to the Unicode Standard. The package is migrated from the npm emoji-regex library.

AI-written summary of version 0.0.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to detect or extract emojis from text strings in Dart or Flutter.
  • You want to keep emoji-matching logic synchronized with the Unicode Standard.

Skip it when

  • You only need to match a very small, fixed subset of emojis.
  • You need complex text parsing beyond simple regular expression matching.

Strengths

  • Matches all emoji symbols and sequences according to the Unicode Standard.
  • Zero dependencies and lightweight.

Weaknesses

  • Provides a single feature (regular expression matching) which could also be written manually if needed.
  • Not documented beyond basic description.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0
not documented

Alternatives

Packages that do the same job and could replace emoji_regex.

  • source_span

    Standard representation for source code locations, spans, and human-friendly error messages.

  • unicode_emojis

    Provides access to Unicode 17.0 emojis, including metadata, skin tone variants, and search.

  • emojis

    Dart package containing all Unicode emojis with utilities for searching, filtering, and manipulation.

  • randexp

    Create random strings that match a given regular expression.