Dart语言中文社区
Dart SDK
dart:core
RegExp
firstMatch
firstMatch
Dart SDK
dart:core
RegExp
firstMatch
method
firstMatch
Source
Dart SDK
dart:core
RegExp
Constructors
RegExp
Properties
hashCode
isCaseSensitive
isMultiLine
pattern
runtimeType
Operators
operator ==
Methods
allMatches
firstMatch
hasMatch
matchAsPrefix
noSuchMethod
stringMatch
toString
Match
firstMatch
(
String
input
)
在字符串
input
中,查找正则表达式的第一个匹配。 如果没有匹配,返回
null
。
Source
Match firstMatch(String input);