Solutions:
or^CME\.b?+[^/.]
^CME\.(?:b[^/.]|[^b/.])
Note that you seem to think grep -P uses Perl, but it uses PCRE. There are some differences between the two.
In reply to Re: Strange negated character class behavior
by ikegami
in thread Strange negated character class behavior
by miguelnyc703
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |