\b✅\b
do not match a single emoji: '✅'.
\b\u2B07\b
do not match: '⬇️'.
\b-\b do not match '-'.
\bfoo\b
certainly match 'foo'.
Why does that happens and what's an alternative to ensure my emoji or any special character is not in the middle of a string
playground: https://regex101.com/r/jRaQuJ/2
Edit: For the record, I think this question because i think it's still useful even somehow duplicated. 1st duplicate marked shows a specific and verbose question while this one is simple short and easy to find. 2nd duplicate is just the definition of \b
boundary and someone with my problem would probably need something more specific.