Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Allow use of find/replace regex to compute property values #321

Closed
nickidlugash opened this issue Aug 3, 2015 · 5 comments
Closed

Allow use of find/replace regex to compute property values #321

nickidlugash opened this issue Aug 3, 2015 · 5 comments

Comments

@nickidlugash
Copy link
Contributor

Currently we can't make use of the way duplex shields in the mapbox streets data are designed to be styled, because we can't use regex as part of values, and we also don't accept \n as a space for line wrapping. Is it feasible to implement the ability to use find/replace and \n?

@1ec5
Copy link
Contributor

1ec5 commented Aug 3, 2015

The regex half of this is covered by #233.

@jfirebaugh
Copy link
Contributor

#233 is for the use of regexes in filters, which is a different use case.

I seem to recall an issue for wrapping on newlines, but I can't find it at the moment.

@lucaswoj
Copy link

We have a separate issue for regex support and have already implemented newline support.

@jfirebaugh
Copy link
Contributor

As noted above: the other issue is for regex support in filters. This is about regex support in functions.

@jfirebaugh jfirebaugh reopened this Dec 22, 2016
@jfirebaugh jfirebaugh changed the title Allow use of find/replace regex and \n? Allow use of find/replace regex to compute property values Dec 22, 2016
@lucaswoj
Copy link

lucaswoj commented Feb 1, 2017

This issue was moved to mapbox/mapbox-gl-js#4100

@lucaswoj lucaswoj closed this as completed Feb 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants