A generic pattern extraction utility class, it extract named patterns matching a given regex
e.g.
A generic pattern extraction utility class, it extract named patterns matching a given regex
e.g. the following will match tree numbers separated by semicolumn:
[first,second,third](?:([0-9]+):([0-9]+):([0-9]+))
if the regex matches it will create the entries into the dictionary e.g.:
10:11:12 will result in Map("first.0" -> "10", "second.0" -> "11", "third.0" -> "12")
the number at the end of the name is an index incremented for multiple occurrences of the pattern
in the query
A generic pattern extraction utility class, it extract named patterns matching a given regex e.g. the following will match tree numbers separated by semicolumn: [first,second,third](?:([0-9]+):([0-9]+):([0-9]+)) if the regex matches it will create the entries into the dictionary e.g.: 10:11:12 will result in Map("first.0" -> "10", "second.0" -> "11", "third.0" -> "12") the number at the end of the name is an index incremented for multiple occurrences of the pattern in the query