Skip to content

LINQ-like regular expressions #471

Closed
@DartBot

Description

@DartBot

This issue was originally filed by thefield...@ozemail.com.au


Regular expressions are cryptic. Everybody has problems trying to remember how to construct a regular expression and a day later they forget what the strange thing means. There is no argument about this. The best approach to solve regular expressions that I can think of is:

var regExp = startsWith 3 letters
             andThen 6 numbers or "blah"
             andThen atLeast 2 "-";

Easily readable.

Metadata

Metadata

Assignees

Labels

area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).closed-not-plannedClosed as we don't intend to take action on the reported issuetype-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions