Changes between Version 263 and Version 268 of Help/Styles/MapCSSImplementation
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Styles/MapCSSImplementation
v263 v268 343 343 }}} 344 344 {{{#!td align=left valign=top 345 [https://do wnload.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#sum Regular expression] match345 [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html#sum Regular expression] match 346 346 347 347 }}} … … 352 352 /* Note, that reqular expressions have to be enclosed in /.../ */ 353 353 }}} 354 Case-insensitive matching can be enabled via the embedded flag expression `(?i)` (see [https://docs.oracle.com/ javase/8/docs/api/java/util/regex/Pattern.html#CASE_INSENSITIVE Pattern.CASE_INSENSITIVE]).354 Case-insensitive matching can be enabled via the embedded flag expression `(?i)` (see [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html#CASE_INSENSITIVE Pattern.CASE_INSENSITIVE]). 355 355 {{{ 356 356 #!mapcss … … 364 364 }}} 365 365 {{{#!td align=left valign=top 366 negated [https://do wnload.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#sum Regular expression] match366 negated [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html#sum Regular expression] match 367 367 368 368 }}} … … 508 508 |------------------------------------------------------------------------------- 509 509 {{{#!td align=left valign=top 510 Presence of tag by [https://do wnload.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#sum Regular expression] match (since r6547)510 Presence of tag by [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html#sum Regular expression] match (since r6547) 511 511 }}} 512 512 {{{#!td align=left valign=top … … 1201 1201 comparison operators 1202 1202 asin, atan, atan2, ceil, cos, cosh, exp, floor, log, max, min, mod (since r17759), random, round, signum, sin, sinh, sqrt, tan, tanh:: 1203 the usual meaning, [https://do wnload.oracle.com/javase/8/docs/api/java/lang/Math.html details]1203 the usual meaning, [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html details] 1204 1204 cond(b, fst, snd):: 1205 1205 b ? fst : snd:: … … 1274 1274 return the substring of ''str'', starting at index ''idx'' (0-indexed) [''since r6534''] 1275 1275 substring(str, start, end):: 1276 return the substring of ''str'', starting at index ''start'' (inclusive) up to ''end'' (exclusive) (0-indexed) [''since r6534''] 1276 return the substring of ''str'', starting at index ''start'' (inclusive) up to ''end'' (exclusive) (0-indexed) [''since r6534''], a negative end index counts from the string end [''since r19259''] 1277 1277 replace(string, old, new):: 1278 1278 Replaces any occurrence of the substring ''old'' within the string ''string'' with the text ''new'' … … 1299 1299 CRC32_checksum(''str''):: 1300 1300 calculate the CRC32 checksum of a string (result is an integer from 0 to 2^32^-1) [''since r6908''] 1301 siunit_length(''str''):: 1302 convert length units to meter (fault tolerant, ignoring white space) [''since r19089''] 1301 1303 is_right_hand_traffic():: 1302 1304 Check if there is left-hand or right-hand traffic at the current location. [''since r7193''] … … 1329 1331 sort(''str1'', ''str2'', ''str3'', ''...''):: 1330 1332 sorts an array of strings [''since r15279''] 1331 sort_list():: 1333 sort_list(''list_name''):: 1332 1334 sorts a list of strings [''since r15279''] 1333 1335 tag_regex(''regex''):: 1334 returns a list of values that match the regex [''since r15317'']1336 returns a list containing the values of keys that match the regex [''since r15317''] 1335 1337 to_boolean(''str''):: 1336 1338 returns the string argument as a boolean [''since r16110''] … … 1349 1351 uniq(''str1'', ''str2'', ''str3'', ''...''):: 1350 1352 returns a list of strings that only have unique values from an array of strings [''since r15323''] 1351 uniq_list():: 1352 returns a list of strings that only have unique values from a list of strings [''since r153 53'']1353 uniq_list(''list_name''):: 1354 returns a list of strings that only have unique values from a list of strings [''since r15323''] 1353 1355 parent_way_angle():: 1354 returns the angle of the parent way as a double in rad [''since r186 78''] (see: text-rotation or icon-rotation)1356 returns the angle of the parent way as a double in rad [''since r18664''] (see: text-rotation or icon-rotation) 1355 1357 convert_primitive_to_string(''PrimitiveId''):: 1356 1358 returns the primitive id as a string [''since r18829'']