Spec-Zone.ru › Dart 2

dart:core

namedGroup abstract method

String? namedGroup(
  1. String name
)

The string captured by the named capture group name.

Returns the substring of the input that the labeled capture group, labeled name, matched, or null if that capture group was not part of the match.

The name must be the name of a named capture group in the regular expression pattern which created this match. That is, the name must be in groupNames.

Implementation

String? namedGroup(String name);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-core/RegExpMatch/namedGroup.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API