Forum Discussion
JHunt
6 years agoCommunity Hero
Hi,
Here's a Groovy example of how to get the value for multiple matches:
assert ('abc1 def2 abc5 def6' =~ /abc(\d)/).findAll() == [['abc1', '1'], ['abc5','5']]
Related Content
- 11 years agoSoapRookie
- 5 years agoDenesIsti
Recent Discussions
- 7 days agoemoya