Therefore the regular expression A*B will match the strings AB, AAB, AAAB, or any other string starting with an A and ending with a single B.
因此,正则表达式 A*B 将与字符串 AB 、 AAB 、 AAAB 或任何其它以 A 开头并以单个 B 为结尾的字符串相匹配。
For example, when retrieved as a string, a byte array will look something like [B@4f25045a.
例如,当一个字节数组作为字符串被检索时,它将看起来有些像 [B@4f25045a。
Note that the letters array is shifted after each acronym lookup in order to search for both "ibm" and "bmx" from the string "i b m x."
注意,每执行完一次缩略词查找后都轮换字母数组中字母的位置,以便从字符串 “i b m x” 中搜索 “ibm” 和 “bmx”。
应用推荐