The best Stargazers' Revolutions
I have imagined this moment for a long time. Is it real? Could it be T-Regx got 60 stars ? :D
But, what's new?
There is preg_grep()
function for filtering an array by a pattern, unfortunately there's no flag or another
method to filter it by keys (there is a T-Regx method forArray()->filterByKeys()
,
but there was no such solution in SafeRegex).
That's why we added preg::grep_keys()
, which works exactly like preg_grep()
but filters an array by keys,
instead of values. It's going to be released in 0.9.2.
List of all changes incoming in 0.9.2 is available in ChangeLog.md, with fluent()
, unique()
, in-place
replacements and more.