mapbox / mapbox/mapbox-gl-js

Add expression operator testing a string against a regular expression

Open
#4,089 22 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cross-platform :tv: feature :green_apple: needs discussion :speech_balloon:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

_From @ansis on January 15, 2015 20:32_

We've talked about this before but it was never implemented. How would it be specified?

Carto uses `=~`. We could also use `regex`.

_Copied from original issue: mapbox/mapbox-gl-style-spec#233_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files, tests, or an entry point. Start by reviewing the existing expression specification and operators, then determine the syntax and behavior for testing a string against a regular expression; done requires an agreed specification, implementation, and coverage for the chosen behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.