Skip to content

Parser for emojis? #174

@nank1ro

Description

@nank1ro

Hi, thank you so much for this amazing package.
I've built notescalculator.com using it and it helped a lot.

May I know If there is a way to accept emojis in a parser?

I have this parser now

  late final Parser<String> variable = [
    char(' ').star(),
    letter(),
    pattern('a-zA-Z_0-9 ').star().optional()
  ].toSequenceParser().flatten().map((value) => value.trim());

But I would like it to accept something like 👍 hello or hel👍lo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions