You define the following regular expression of cur...
单选题

You define the following regular expression of currency values: regex tx = new regex("^-?/d+(/./d{2})?$") You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use. What should you do?()

发布日期:2020-04-10

A.The tx.Matches(Bill)

B.The tx.Equals(Bill)

C.The tx.Match(Bill)

D.The tx.IsMatch(Bill)

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定