$ ngs -pi '"abc" =~ Capture(/a/)'
(root) - MatchSuccess with 3 key/value pair(s)
.matches - Arr of size 0
.pattern - Capture with 3 key/value pair(s)
.pattern.pattern = <RegExp>
.pattern.name = <Null null>
.pattern.dflt = <Null null>
.named - Hash with 0 key/value pair(s)
$ ngs -pi '"abc" =~ Capture("A", /a/)'
(root) - MatchSuccess with 3 key/value pair(s)
.matches - Arr of size 0
.pattern - Capture with 3 key/value pair(s)
.pattern.name = String of length 1: A
.pattern.pattern = <RegExp>
.pattern.dflt = <Null null>
.named - Hash with 0 key/value pair(s)