java正则表达式用matches匹配多个字符串

2025-05-22 04:19:55
推荐回答(1个)
回答(1):

a.matches(".*char.*|.*int.*");