Test, validate and match regular expressions
Matches the Russian word 'звук' (sound) followed by animal onomatopoeia - either 'Гав'/'гав' (dog bark) or 'Мяу'/'мяу' (cat meow) with exclamation marks. The capturing group preserves the matched sound for backreferences in replacement strings using \1. Useful for text processing involving Russian animal sounds.