Changes between Version 3 and Version 4 of Rules/Pictures
- Timestamp:
- 2023-11-11T21:10:51+01:00 (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rules/Pictures
v3 v4 13 13 } 14 14 15 *[mapillary][mapillary!~/^[ a-zA-Z0-9_-]{22}$/][mapillary=~/pKey=[a-zA-Z0-9_-]{22}/] {16 throwError: tr("mapillary tag should only contain image IDinstead of full URL");17 fixAdd: concat("mapillary=", get(regexp_match(".*pKey=([ a-zA-Z0-9_-]{22}).*", tag("mapillary")),1));15 *[mapillary][mapillary!~/^[0-9]{15}$/][mapillary=~/pKey=[0-9]{15}/] { 16 throwError: tr("mapillary tag should only contain image key instead of full URL"); 17 fixAdd: concat("mapillary=", get(regexp_match(".*pKey=([0-9]{15}).*", tag("mapillary")),1)); 18 18 } 19 19 20 *[mapillary][mapillary!~/^[ a-zA-Z0-9_-]{22}$/][mapillary!~/pKey=[a-zA-Z0-9_-]{22}/] {21 throwError: tr("mapillary tag should only contain image ID (22characters string)");20 *[mapillary][mapillary!~/^[0-9]{15}$/][mapillary!~/pKey=[0-9]{15}/] { 21 throwError: tr("mapillary tag should only contain image key (15 characters ciphers string)"); 22 22 } 23 23