Test, validate and match regular expressions
Matches simulate() calls in test code (e.g., Vue Test Utils or Enzyme style) where an event name is passed along with a multiline options object containing a type string and a target attribute selector. Captures the type value in group 1 and the data-test-id value in group 2. Useful for refactoring test suites, migrating testing utilities, or extracting event types and element test IDs from test files, with gm flags enabling multiline matches throughout a file.