row-of-character pattern [计] 字符行模式
The ? character means to match zero or one instance of the previous pattern element; the * character means to match zero or more of the previous element.
字符表示匹配前面模式元素的零个或一个实例,* 字符表示匹配前面元素的零个或多个实例。
This expression is then retained by the Pattern class before it is passed on to the Matcher class to check for matches in the context of a character sequence.
Pattern 先保存要使用的表达式,然后将其传递给 Matcher 类以便在字符序列的上下文中检查其匹配情况。
This function is not smart enough to identify the character values in the final example of use and thus be able to warn the user. You could use a string pattern matching test such as.
这个函数还不够灵巧,不能区分最后使用的示例中的字符值,所以不能警告用户。
应用推荐