Project

General

Profile

Actions

Feature #18585

closed

Promote find pattern to official feature

Added by ktsj (Kazuki Tsujimoto) about 2 years ago. Updated about 2 years ago.

Status:
Closed
Target version:
-
[ruby-core:107574]

Description

"Find pattern" has introduced in 3.0 and it is still marked as an experimental.
I don't see any problems, so it is time to promote it to official feature.

(BTW, it was useful when writing code like the following for a practical example.)

if ary in [*, {a: 0, b: 1 | 2} => i, *]
  ...
end
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0