On 8 April 2014 12:14, manoj mokashi wrote:
> hi,
>
> do we have something like the below already ?
> if not, would like to contribute to commons, maybe StringUtils ?
Just curious - what is the use case for this?
What does the method return if there are no matches?
> /**
> * Matches a string t
hi,
do we have something like the below already ?
if not, would like to contribute to commons, maybe StringUtils ?
/**
* Matches a string to a regex and returns the matches as String[][],
* each row is a match, each column a group
* @param source : string to be matched
* @param regex : regex