I have attached an example program that can deal with
the different regex parsing in 3.0.x vs. 3.1.x and
regex sub-expressions. I have tested with
3.1.17 and 3.2.3 successfully. Since creating a
script that actually worked with both bash versions
took me a while, I suspect other people might want
to see an example. This example will split out
3 subexpressions from the input, but does not
include any error checking for bad input. If the
code is incorrect please let me know.
Thanks!
JGH