File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contr
10
10
## Using
11
11
12
12
~~~
13
- wp search-replace <old> <new> [<table>...] [--dry-run] [--network] [--all-tables-with-prefix] [--all-tables] [--export[=<file>]] [--export_insert_size=<rows>] [--skip-tables=<tables>] [--skip-columns=<columns>] [--include-columns=<columns>] [--precise] [--recurse-objects] [--verbose] [--regex] [--regex-flags=<regex-flags>] [--regex-delimiter=<regex-delimiter>] [--format=<format>] [--report] [--report-changed-only] [--log[=<file>]] [--before_context=<num>] [--after_context=<num>]
13
+ wp search-replace <old> <new> [<table>...] [--dry-run] [--network] [--all-tables-with-prefix] [--all-tables] [--export[=<file>]] [--export_insert_size=<rows>] [--skip-tables=<tables>] [--skip-columns=<columns>] [--include-columns=<columns>] [--precise] [--recurse-objects] [--verbose] [--regex] [--regex-flags=<regex-flags>] [--regex-delimiter=<regex-delimiter>] [--regex-limit=<regex-limit>] [-- format=<format>] [--report] [--report-changed-only] [--log[=<file>]] [--before_context=<num>] [--after_context=<num>]
14
14
~~~
15
15
16
16
Searches through all rows in a selection of tables and replaces
@@ -94,6 +94,9 @@ change primary key values.
94
94
[--regex-delimiter=<regex-delimiter>]
95
95
The delimiter to use for the regex. It must be escaped if it appears in the search string. The default value is the result of `chr(1)`.
96
96
97
+ [--regex-limit=<regex-limit>]
98
+ The maximum possible replacements for the regex per row (or per unserialized data bit per row). Defaults to -1 (no limit).
99
+
97
100
[--format=<format>]
98
101
Render output in a particular format.
99
102
---
You can’t perform that action at this time.
0 commit comments