Find pattern is no longer experimental [Feature #18585]

This commit is contained in:
Kazuki Tsujimoto 2022-02-19 18:45:49 +09:00
parent 3200d97e95
commit db6b23c76c
No known key found for this signature in database
GPG key ID: BCEA306C49B81CD7
3 changed files with 4 additions and 23 deletions

View file

@ -4356,9 +4356,6 @@ p_args_tail : p_rest
p_find : p_rest ',' p_args_post ',' p_rest
{
$$ = new_find_pattern_tail(p, $1, $3, $5, &@$);
if (rb_warning_category_enabled_p(RB_WARN_CATEGORY_EXPERIMENTAL))
rb_warn0L_experimental(nd_line($$), "Find pattern is experimental, and the behavior may change in future versions of Ruby!");
}
;