题目内容

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?()

A. The tx.Matches(Bill)
B. The tx.Equals(Bill)
C. The tx.Match(Bill)
D. The tx.IsMatch(Bill)

查看答案
更多问题

锅炉严重缺水时的现象是()

A. 水位表可见部分见不到水位经叫水后能见到水位
B. 水位表可见部分见不到水位经叫水后仍不见水位
C. 水位表内水位激烈波动

改扩建工程中,应在作业地点悬挂“在此工作!”的安全标志牌。

A. 正确
B. 错误

接地线一经拆除,设备即应视为有电,禁止再去接触或进行作业。

A. 正确
B. 错误

居民会议由居民委员会召集和主持。有()以上的18周岁以上的居民、以上的户代表或者以上的居民小组提议,应当召集居民会议。

A. 1/5;1/5;1/3
B. 1/5;1/3;1/3
C. 1/5;1/3;1/5
D. 1/3;1/5;

答案查题题库