You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/DB_Command.php
+22-35Lines changed: 22 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -715,10 +715,10 @@ public function prefix() {
715
715
* ---
716
716
*
717
717
* [--regex]
718
-
* : Runs the search as a regular expression (without delimiters). The search becomes case-sensitive (i.e. no PCRE flags are added, except 'u' if the database charset is UTF-8). Delimiters must be escaped if they occur in the expression.
718
+
* : Runs the search as a regular expression (without delimiters). The search becomes case-sensitive (i.e. no PCRE flags are added). Delimiters must be escaped if they occur in the expression.
719
719
*
720
720
* [--regex-flags=<regex-flags>]
721
-
* : Pass PCRE modifiers to the regex search (e.g. 'i' for case-insensitivity). Note that 'u' (UTF-8 mode) will not be automatically added.
721
+
* : Pass PCRE modifiers to the regex search (e.g. 'i' for case-insensitivity).
722
722
*
723
723
* [--regex-delimiter=<regex-delimiter>]
724
724
* : 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)`.
@@ -842,24 +842,16 @@ public function search( $args, $assoc_args ) {
842
842
if ( false === @preg_match( $search_regex, '' ) ) {
843
843
WP_CLI::error( "The regex '$search_regex' fails." );
0 commit comments