From 0737d38ee8764de3185d4973e5c60506c052b182 Mon Sep 17 00:00:00 2001 From: Jon Malmaud Date: Sat, 29 Aug 2015 09:25:48 -0400 Subject: [PATCH 1/2] Added 'ismount' to NEWS --- NEWS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NEWS.md b/NEWS.md index 7510de6d6d7e1..a12e5bb7de461 100644 --- a/NEWS.md +++ b/NEWS.md @@ -364,6 +364,8 @@ Library improvements * Added function `readlink` which returns the value of a symbolic link "path" ([#10714]). + * Added function `ismount` which checks if a directory is a mount point ([#11279]). + * The `cp` function now accepts keyword arguments `remove_destination` and `follow_symlinks` ([#10888]). * The `mv` function now accepts keyword argument `remove_destination` ([#11145]). From 1b6b5a5bb0f6de7071c69666192a664a17db3517 Mon Sep 17 00:00:00 2001 From: Jon Malmaud Date: Sat, 29 Aug 2015 09:42:28 -0400 Subject: [PATCH 2/2] Add regex improvements to NEWS --- NEWS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.md b/NEWS.md index a12e5bb7de461..fa76e3284e090 100644 --- a/NEWS.md +++ b/NEWS.md @@ -265,6 +265,11 @@ Library improvements * `is_valid_char(c)` now correctly handles Unicode "non-characters", which are valid Unicode codepoints ([#11171]). + * Backreferences in replacement strings in calls to `replace` with a `Regex` pattern are now supported ([#11849]). + Use the `s` string prefix to indicate a replacement string contains a backreference. For example, `replace("ab", r"(.)(.)", s"\2\1")` yields "ba". + + * Capture groups in regular expressions can now be named using PCRE syntax, `(?P...)`. Capture group matches can be accessed by name by indexing a `Match` object with the name of the group ([#11566]). + * Array and AbstractArray improvements * New multidimensional iterators and index types for efficient iteration over `AbstractArray`s. Array iteration should generally be written as `for i in eachindex(A) ... end` rather than `for i = 1:length(A) ... end` ([#8432]).