src: use `String::search` instead of `Pattern::search_in` that is private

Signed-off-by: Jean Privat <jean@pryen.org>
model: fix visibility total order

How could intrude == public and private == none?

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update base_attr3

Signed-off-by: Jean Privat <jean@pryen.org>
tests: extends `base_prot` to check more visibility configuration

Signed-off-by: Jean Privat <jean@pryen.org>
tests: update nitmetrics

Because public things are different (not correct) I think.

Signed-off-by: Jean Privat <jean@pryen.org>