跳转到主要内容

Given /^"([^"]+)" replaced with "([^"]+)" in the ([^\s]+) file$/

Search and replace a string in a file using regex.


Usage

Scenario: My example scenario
  Given "Foo" replaced with "Bar" in the readme.html file
  ...

Behat steps documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.