Fixed regex square-bracket bug.

Regexes were being parsed like ordinary ansible host patterns, so
square-bracket groups were getting interpolated wrongly.
Added test for regex grouping bug fixed in 307a3e
Merge branch 'devel' of https://github.com/danslimmon/ansible into danslimmon-devel
Merge branch 'danslimmon-devel' into devel