Backport: Fix typo in regexp-opt example code

* doc/lispref/searching.texi (Regexp Functions):
Fix typo in example code (Bug#34596).
1 job for emacs-26 in 26 minutes and 12 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #2219
test

00:26:12