I'm trying to create a -regex expression for find on macOS.
find /Users/gerben/Library -regex '.*\(cisco\).*' -print 2>/dev/null
works, and so does
find /Users/gerben/Library -regex '.*\(citrix\).*' -print 2>/dev/null
in the sense that they both find files. Now I try
find /Users/gerben/Library -regex '.*\(cisco|citrix\).*' -print 2>/dev/null
and nothing is found. Nor does
find /Users/gerben/Library -regex '.*\(cisco\|citrix\).*' -print 2>/dev/null
nor any other variation with {} escapes and what not that I have tried. What am I doing wrong?