It returns 0 if the match cannot be found or -1 if source string is null or empty.
如果没有发现匹配则返回0,或者如果源字符串是null或空则返回- 1。
It returns a null if no match is found, or if the source string is null or empty.
如果没有发现匹配项或源字符串是null或空,则返回null。
Regular expression to match an empty string?
正则表达式匹配空字符串?
Regular expression to match an empty string?
正则表达式匹配空字符串?
应用推荐