“份数”字符域包含非数字的字符。
请注意,上面的正则表达式如何只捕获“connection from”和一个非数字的字符串后面的数字和点。
Note how the regular expression above captures only digits and dots, after "connection from" and a string of non-digits.
对于带前置负号(负前缀)的模式,截断发生在非数字字符的点(包括了内嵌的负号)。
For patterns with a leading minus sign (negative prefix), truncation occurs at the point of a nondigit character, including embedded minus signs.
应用推荐