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.
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 release in 0.9.2.
List of all changes incoming in 0.9.2 is available in ChangeLog.md, with
unique(), in-place replacements and more.