in reply to Why does this simple grouping regex not match?

Is this what you are looking for?
$ perl -e '$_ = "(b)."; /(\(?=a|b|c\))/ && do { print "match!\n"; };' match!
The outer parenthesis captures the match and the inner should be escaped!
UPDATE
Never mind, didn't pay attention to the atomic grouping!