Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.
Post by berestovskyy
crazycaveman wrote:Am I missing something with regards to negated regex's?
The report is cleared automatically once you change either a template or a regexp field. I guess you changed your custom check after the scan has been completed. This is my best guess. A permalink would help.
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message

Post by berestovskyy
myriades wrote:AFAIK, there is no bug in Validator.
Why my TODO list is so long then? :lol:
myriades wrote:And the personnal check should be something as optionnal and for advanced editors
There is no any harm having them available for all editors. The information to match is limited. For instance, there is no way to match editor's name.

Also there is no relation between editor's level and the ability to use regexps. Some people (with IT background, I guess) understand those regexps, some people don't. But anyone can ask for a help and then just copy-paste two lines.

That is what the Custom Check in Validator for - gets the job done. Instantly ;)
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message

Post by berestovskyy
crazycaveman wrote:This is the area I'm running the report in, if you want to try it yourself.
Both of your regexps work fine with me and give exactly the same number of reported segments.

Make sure you do not put any spaces before the exclamation mark.
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message

Post by berestovskyy
HavanaDay wrote:EDITED: I think I have narrowed it down to Highliter script. Unless it just magically starting working again.
Ok, cool. At least now you'll be able to switch between one script or another.

Sorry, I have no Mac, so I can't check the issue :(
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message

Post by berestovskyy
OlavoAG wrote:Where can I download it? userscripts.org seems not to be working... :?
For Firefox
:( As suggested in other thread, here is the working link: userscripts.org
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message

Post by berestovskyy
No worries, I guess I can fix #74 for such cases.
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message

Post by berestovskyy
Please try Settings->Reset defaults or just make sure your search tab has no options activated.
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message

Post by berestovskyy
TyrionGOT wrote:How would I create a custom expression to flag nodes with turn restrictions?
You can try ${segmentsA/B} and ${outA/B} variables, for example:
Template: ${segmentsA}:${outA}
RegExp: /3:[^3]/

This will match a segment connected to 3 other segments at node A, but having not 3 outward turns enabled.

But it's not that simple. You have to take into account segment's direction etc etc. So I suggest you use instead Shift+Z WME shortcut which shows you disabled turns.
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message

Post by berestovskyy
olestas wrote:How should I search for segments shorter then 17m?
Try to match length 0-9 OR 1 following 0-6:
Template: ${length}
RegExp: /^([0-9]|1[0-6])$/
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message

Post by berestovskyy
userscripts works fine with me: link :?

GreasyFork: link
berestovskyy
Posts: 912
Has thanked: 321 times
Been thanked: 832 times
Send a message