Steps to reproduce:
1. Create a file containing the string "hello".
2. Set the variable "find-name-arg" to "-regex" via Easy Customization.
3. Visit the directory containing the file created in step 1 in dired.
4. Mark the file created in step 1 in dired.
5a. Execute "dired-do-find-regexp" on the marked file by pressing "A"
and enter "hello" in the prompt.
=> Function reports "user-error: No matches for: hello" but I
expected it to open an "*xref*" buffer listing the file created
in step 1.
5b. Execute "dired-do-find-regexp-and-replace" on the marked file by
pressing "Q", enter "hello" in the first prompt and an arbitrary
replacement string in the second prompt.
=> Function reports "user-error: No matches for: hello" but I
expected it to open the file created in step 1 with the option to
replace "hello" with the replacement string.