patch idea, kick it around here ?

jim.cromie at gmail.com jim.cromie at gmail.com
Wed Aug 4 12:06:05 EDT 2021


> make menuconfig

# search for something - open search dialog
/
LIB|TEST   # this works ! - thank the wizards
LIB&TEST  # this doesnt.
ACPI&LIB   # this would match 1st find by 1st line (a positive test)

its not a well-formed search pattern/regex in any system I know,
but it has an implied meaning ( grep FOO .config | grep TEST )
and utility - to see if FOO has a *TEST*, and where is it ?

Anyone want to look under the hood, see how its done ?

some UI tests:
searching '&' acts like a literal, returns no matches found
searching '|'  doesnt search, leaves u on enter-search-term dialog
nor does '|FOO'
So '|' is recognized as special

Also, the search dialog will time out,
(below is eventual response, I think on '|FOO'
but response to '|' is "the same"

─────────────────────────────────────────────────────────────────────────────────────
  ┌───────────────────────────────────────────────────── Search
Results ──────────────────────────────────────────────────────┐
  │ Symbol: -17 [=-17]
                                                       │
  │ Type  : unknown
                                                       │
  │
                                                       │
  │
                                                       │
  │ Symbol: 0 [=0]
                                                       │
  │ Type  : unknown
                                                       │

... goes on for a while....


If you can find that spot in code, and make '&' special,
I think youre more than half way there.


More information about the Kernelnewbies mailing list